1. Write a program to display the square of the number up to given an integer.
Answers
Answered by
0
Explanation:
C Program to calculate the square of a number:
#include<stdio.h>
int main()
{
printf("Please Enter any integer Value : ");
scanf("%f", &number);
square = number * number;
printf("square of a given number %.2f is = %.2f", number, square);
return 0;
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
2 months ago
English,
3 months ago
English,
3 months ago
Art,
11 months ago
Science,
11 months ago
Science,
11 months ago