This is my new code and i don't know what the error! can you help me!?!? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

This is my new code and i don't know what the error! can you help me!?!?

#include <iostream> using namespace std; int main() { int age[2]; int id[2]; int score[2]; for (int i=0;i<3;i++){ cin >>age[i]>>id[i]>>score[i]; } cout <<" id age score "<<endl; for (int i=0;i<3;i++){ cout <<age [i] <<"\t"<<id[i]<<"\t"<<score [i]<<endl; } return 0; }

22nd Jun 2018, 11:55 AM
Afnan Eljak
2 Respuestas
0
i tryed it but it'n work @Donna
22nd Jun 2018, 12:46 PM
Afnan Eljak
0
did you try it with my code?
22nd Jun 2018, 1:14 PM
Afnan Eljak