Generation

generate functionMon, 27 Mar 2023

Que pida números y que los sume

#include <stdio.h> int main(void) { int a, b, total; printf("Enter a number: "); scanf("%d", &a); printf("Enter another number: "); scanf("%d", &b); total = a + b; printf("Total: %d", total); return 0; }

Questions about programming?Chat with your personal AI assistant