Hello I am very new to c++ I need help trying to set a value for a string. The program gives me the error that "info;" *line 13* needs a value *located below "int i;"* Thank you
#include <iostream>
using namespace std;
#include<string>
#include<iomanip>
struct info {
int studentid;
char grade;//capital A,B,C,D,F
};
int main()
{
int i;
info;
cout << "type a studentid \n ";
cin >> info.studentid;
cout << "Type a grade |n";
cin >> info.grade;
cout << "The studentid is" << info.studentid
cout << "The student grade is" << info.grade;
cout << "input an integer|n";
cin >> i;