Close
Close

write a c ++ program using while loop for5 students in a class take their roll number and their quiz marks and their grade ,display it on a screen

   alexa


Answers

  •    @ghulamtahir

    #include

    using namespace std;

    int main()

    {

    int student = 0,i=0;

    int Rollno[5], Quiz[5];

    float grade[5];

    while (student < 5)

    {

    cout << "Enter Your Roll No : ";

    cin >> Rollno[student];

    cout << "Enter your Quiz Marks : ";

    cin >> Quiz[student];

    cout << "Enter Your Grade :";

    cin >> grade[student]; student++;

    }


    while (i<5)

    {

    cout << "Student " << i << endl;

    cout << "============" << endl; cout << "\t" << "Roll No : " << Rollno[i] << endl << "\t" << "Quiz Marks :" << Quiz[i] << endl << "\t" << "Grade :" << grade[i] << endl; i++;

    }

    system("pause>0");

    return 0;




  •    frederickgragg

    Unleash your potential with the latest Amazon Web Services SAA-C03 New Questions update [2023]! Elevate your skills and stay ahead in the dynamic world of cloud computing. Our updated content reflects the cutting-edge advancements in AWS technology, ensuring you're well-prepared for the SAA-C03 exam. Dive into comprehensive, meticulously curated questions that cover the latest features, services, and best practices. Whether you're a seasoned professional or just starting your AWS journey, our updated material provides a strategic advantage, aligning with the most recent industry trends. Trust in the power of knowledge as you embark on your SAA-C03 certification journey, confident that you're equipped with the latest insights and expertise. Amazon Web Services SAA-C03 New Questions update [2023] – your gateway to success in the ever-evolving realm of cloud computing.



Ask Yours
Post Yours
Write your answer