Loading editor...
#include<stdio.h> #include<stdlib.h> // include statesments are ignored. // actually lines starting with # are ignored. void fun(int x){ int i; for(i=0; i<x; i++){ println(i); } } int main() { int a, b, c; println("Enter two numbers- "); scan(a); scan(b); c = a + b; print("Sum of a and b = "); println(c); fun(5); return 0; }
Loading editor...
Loading editor...
Loading editor...
Loading editor...