#include <stdio.h> #include <stdlib.h> int main() { int num1; int num2; printf("Enter first number "); scanf("%d", &num1); printf("Enter second number "); scanf("%d", &num2); printf("Answer: %d, num1 + num2 "); return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter