Mega Code Archive

 
Categories / C / Console
 

Demonstrates printing the results of simple equations

#include <stdio.h> int main() {     int term = 3 * 5;     printf("Twice %d is %d\n", term, 2*term);     printf("Three times %d is %d\n", term, 3*term);     return (0); }