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.
C:
#include <stdio.h>
int main()
{
int i = 0;
while(i <=10)
{
printf("Value is %d\n", i);
i++;
}
return 0;
}
ok. In first program I am able to print number from 0 to 10 numbers. Now I just want to apply if else condition in my first program. if the numbers is greater than five than print negative numbers and if the numbers is less than five print positive numbers. how to do it
what it has to do with anything - take it all easy - avoid contributing to this annoying "find the loony syndrome" possibly ghosting around in this as in several other net forums https://rextester.com/ARII95755 (not shure if this the right C v.)