Write a C program to create a file

EX: Write a C program to create a file. How do you create file in file handling. C program to create file.

To learn file handling in C programming first we need to start from creating a file in C. To create a file in C there is a following syntax is used.

Java program to calculate foot to centimeters

 EX: Write a java program to calculate foot to centimeters. How to write a java program to calculate foot to centimeters. Java program to calculate foot to centimeters.

Java program to calculate inch to meters

EX: Write Java program to calculate inch to meters. How to write java program which calculate inch to meters. Java program to calculate inch to meters.

Java program to compute expression and print output.

EX: Write a java program to calculate the expression and print output. How to write a java program which will compute expression and print output on the output screen. java program to compute expression and print output.

C program to print ASCII value of character

EX: Write a C program to print ASCII value of character. How to write a C program which prints ASCII value of character. C program to print ASCII value of character.

C program to accept input from user and print it on the output screen

 EX: Write a c program to accept input from user and print it on the output screen. How to write a c program to accept input from user and print it on the output screen. C program to accept input from user and print it on the output screen.

Java program to accept five subjects marks from student and print total and percentage on the output screen

EX: Write a java program to accept five subjects marks from student and print total and percentage on the output screen. How to write a java program to accept five subjects marks and print total and percentage. Java program to accept marks from students and print total and percentage.

Java program to find area of triangle

EX: Write a java program to find area of triangle. How to write a java program to find area of triangle. Java program to find area of triangle.

Write a java program to find area of circle

 EX: Write a java program to find area of circle. How to write a java program to find area of circle. Java program to find area of circle.


Logic to find area of circle: 

To find area of circle we can use formula of area of circle which is π r² .

Here, r is radius and value of pi is 3.14. 

Java program to print addition, subtraction, multiplication and division of given two numbers

EX: Write a java program which perform addition, subtraction, multiplication and division. How to write a java program which prints addition, subtraction, multiplication and division of  two numbers. java program which perform addition, subtraction, multiplication and division.