Pages
Showing posts with label program. Show all posts
Showing posts with label program. Show all posts
Tuesday, April 8, 2014
Square number program and flowchart
Q. Write a C program to accept a number from user and print the square of number. Also draw the flowchart of program.
Ans.
/*c program to calculate the square of number*/
#include<stdio.h>
int main()
{
double n,z;
printf("Enter any number : ");
scanf("%lf", &n);
z = n * n;
printf("Square of number %lf*%lf = %lf",n,n,z);
return 0;
}
The output of above program would be:
Enter any number : 25
Square of number 25*25 = 625
Flowchart of above C square number program:
Related programs:
Ans.
/*c program to calculate the square of number*/
#include<stdio.h>
int main()
{
double n,z;
printf("Enter any number : ");
scanf("%lf", &n);
z = n * n;
printf("Square of number %lf*%lf = %lf",n,n,z);
return 0;
}
The output of above program would be:
Enter any number : 25
Square of number 25*25 = 625
Flowchart of above C square number program:
![]() |
Figure : Flowchart for square number C program |
Related programs:
Friday, March 28, 2014
Epson C92 and Photo R220 R230 Adjustment Program
Here is the link for the adjustment program for Epson C92 and Epson Photo R220/R230 with indoreset.bat.
Epson C92 Adjustment Program
[JOIN OUR MAILING LIST TO GET DOWNLOAD INFO]
Epson Photo R220/R230 Adjustment Program with indoreset.bat
[JOIN OUR MAILING LIST TO GET DOWNLOAD INFO]
Good luck to those who need these reseters!
Happy reseting to everyone.
from,
the moderators---
Read More..
Epson C92 Adjustment Program
[JOIN OUR MAILING LIST TO GET DOWNLOAD INFO]
Epson Photo R220/R230 Adjustment Program with indoreset.bat
[JOIN OUR MAILING LIST TO GET DOWNLOAD INFO]
Good luck to those who need these reseters!
Happy reseting to everyone.
from,
the moderators---