Hi all
1. How to write c program that will print the negative negative of any number.
2. how to write c program that will print the negative of any number that is greater than four.
I wrote this c program to print number o to 10 number.
how to write both programs ?
1. How to write c program that will print the negative negative of any number.
2. how to write c program that will print the negative of any number that is greater than four.
I wrote this c program to print number o to 10 number.
C:
#include <stdio.h>
int main()
{
int i = 0;
while(i <=10)
{
printf("Value is %d\n", i);
i++;
}
return 0;
}
Last edited: