Home
Pratik Ghelani
Home
About Pratik Ghelani
C Programming
Java
PHP
Breaking
Thursday, January 10, 2019
C Programming
Write a C Program To print ―“HELLO FRIENDS”.
Write a C Program To print ―“HELLO FRIENDS”.
by
Pratik Ghelani
on
3:16 AM
in
C Programming
Program:-
#include <stdio.h>
void main()
{
printf("HELLO FRIENDS");
}
Output:-
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Labels
C Programming
cpp
java
PHP
Python
Popular Posts
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="...
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.
Input:- n = int(input("Enter the temperature list:")) Temp = [25.2,16.8, 31.4, 23.9, 28, 22.5,19.6] b = [] for i in ...
Check the string is palindrome or not in swift
var str = "Pratik" var str1 = String(str.reversed()) if (str == str1) { print("String is Palidrome") } else { print(...
Featured
Contact Form
Name
Email
*
Message
*
Powered by
Blogger
.
Home
Archive
Archive
August 2020 (3)
May 2020 (17)
April 2019 (8)
March 2019 (6)
February 2019 (6)
January 2019 (27)
Author Social Links
Tags
C Programming
cpp
java
PHP
Python
Recent
Recent
Popular
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="...
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.
Input:- n = int(input("Enter the temperature list:")) Temp = [25.2,16.8, 31.4, 23.9, 28, 22.5,19.6] b = [] for i in ...
Check the string is palindrome or not in swift
var str = "Pratik" var str1 = String(str.reversed()) if (str == str1) { print("String is Palidrome") } else { print(...
Implementation of polyalphabetic cipher.
Input:- public class polyalphabetic { public static void main(String[] args) { String s="playcsgo"; String k="playever...
Comments
Comments
Popular Posts
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="...
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.
Input:- n = int(input("Enter the temperature list:")) Temp = [25.2,16.8, 31.4, 23.9, 28, 22.5,19.6] b = [] for i in ...
Write a C Program To print ―“HELLO FRIENDS”.
Program:- #include <stdio.h> void main() { printf("HELLO FRIENDS"); } Output:-
Write a C Program To print values of variable of different data types.
Program:- # include<stdio.h> void main() { int a=86; float b=1.5; double c=86.66666; char d='p'; ...
Write a C Program to read two numbers from key board and perform addition, subtraction, division and multiplication using assignment operators.
Program:- #include <stdio.h> void main() { int a, b, add, sub, mul; float divi; printf("Enter two integers\n...
Write a C Program find whether the given year is leap year or not.
Program:- #include <stdio.h> void main() { int y; printf("Enter year : "); scanf("%d", &y)...
Print prime number in given range in swift
func prime(n: Int){ var count = 0 for i in 1...n { if(n%i==0) { count+=1 } } if(count==2) { print(" Prime number \(n)") } else { ...
Implementation of polyalphabetic cipher.
Input:- public class polyalphabetic { public static void main(String[] args) { String s="playcsgo"; String k="playever...
Check the string is palindrome or not in swift
var str = "Pratik" var str1 = String(str.reversed()) if (str == str1) { print("String is Palidrome") } else { print(...
Categories
About Me
Pratik Ghelani
View my complete profile
Total Pageviews
Tags
C Programming
(16)
cpp
(2)
java
(16)
PHP
(8)
Python
(13)
Keep Traveling
Contact Form
Name
Email
*
Message
*
No comments:
Post a Comment