¿Cómo reparar un [Error] iostream: No such file or directory"

2023-05-08T00:26:03.28+00:00
#include <iostream>
#include <math.h>

using namespace std;
 int main()
 {
 	char n[20]; 
	char a[20];
	char f[10];
	int s, g;
 	int pro, x, y, z;
 	
 	cout<<"Nombre del alumno: ";
 	cin>>n;
 	cout<<"Apellidos del alumno: ";
 	cin>>a;
 	
 	cout<<"Semestre: ";
 	cin>>s;
 	cout<<"Grupo: ";
 	cin>>g;
 	cout<<"Fecha: ";
 	cin>>f;
 	
 	cout<<"Calificacion de primer parcial: ";
 	cin>>x;
 	cout<<"Calificacion de segundo parcial: ";
 	cin>>y;
 	cout<<"Calificacion de tercer parcial: ";
 	cin>>z;
 	
 	pro=((x+y+z)/3);
 	
 	if (pro>=6)
 	{
	cout<<"¡Exento!, Tu calificación es: ";
 	cout<<pro;
	}
	
	else
	{
	cout<<"Presentas final. Tu calificacion es: ";
	cout<<pro;	
	}
	 
 	return 0;
 	
 }
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,305 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.