Generation

generate functionFri, 02 Jun 2023

Sumar dos números Y mostrarlos usando printf y scanf

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

Want to kickstart your project?Use the new AI Studio to create your code