#include <stdio.h> int main(void) { // your code goes here int n = 5; for(int i=1;i<=10;i++){ printf("\n%d x %d = %d",i,n,i*n); } return 0;}
Standard input is empty
1 x 5 = 5 2 x 5 = 10 3 x 5 = 15 4 x 5 = 20 5 x 5 = 25 6 x 5 = 30 7 x 5 = 35 8 x 5 = 40 9 x 5 = 45 10 x 5 = 50
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!