Can you help me with the lines that I am missing? I attach the program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you help me with the lines that I am missing? I attach the program

#include <stdio.h> void pares_impares(); void division(); int main(int argc, char *argv[]) { int num1, num2,division ; printf("Introduce el valor del primer numero: "); scanf("%d", &num1); printf("Introduce el valor del segundo numero: "); scanf("%d", num2); division=( num1/num2); int opcion; printf("MENU DE OPCIONES \n"); printf("\n 1. - par o impar"); printf("\n 2. - dividir "); printf("\n sleccione una opcion: "); scanf("%d", opcion); switch (opcion){ case 1 : pares_impares();break; case 2 : division();break; default: break; } return 0; }

18th Sep 2021, 3:15 PM
kevin josuè mondragon nuñez
0 Answers