program to calculate sum of digits of positive integer number
#include"stdio.h"
main()
{
int i, x, sum=0;
printf("enter number : ");
...
Read more »
|
|
write a program that reads a sequence of integers ,, when positive number many asterisks are to be printed ,, when negative number printed out numerically . no number will be greater than 99
#include"stdio.h"
main()
{
int i, n, val, j;
...
Read more »
|
max and min value for n = ten times
#include"stdio.h"
main()
{
int n, val, max, min, i;
...
Read more »
|
program to calculate the area of a square , triangle , circle ,, using :
1- switch
2- if-else
...
Read more »
|
|
|
|
write a program to read the value of two integers and calculate the sum of squares of these numbers the program should use three function
1- sum of two num
2- square of value
3- sum of squares of two num
#include"stdio.h"
int sum(int a, int b);
...
Read more »
|
write program calculate
z = x^y(x!+y!)/(x!-y!)
#include"stdio.h"
float factorial(float k);
float power(float m, float n);
main()
{
...
Read more »
|