I m writing only logic u should code it
int x,y,z;
printf("enter two numbers");
scanf("%d%d",&x,&y);
z=x*x+y*y;
printf("%d",z);
There are many shell programs that will find the sum of the square of individual digits of a number. A small example is: SD=3n=2, sum=2, and SD=2.
There are two solution: -3 and +2.
11,10
The number is 7.
int sum = 0; int n = 0; while( sum <= 999 ) { sum += (++n); }
You square each number and multiply that by the frequency with which that number appears. You then sum together these results.
Find the answer by substituting number into the equationX + X2 = 90and you will find thatX = 9
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
sum of 14th square number and 10th square number
no thanks
Shell problems are programs that can be run to find out information about numbers. The problem can help find an even or odd number, or what the sum of a cube is.
25 is a square number, and the sum of 9 and 16 is 25. 9 and 16 are also square numbers.