We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

XYZ University needs a system for student’s courses and their semester details. A data entry operator needs to enter student’s data in to the system, and then the system will show the report of student semester information. Following data will be used by the system.

• Course code
• Course name
• Semester

The system will allow entering data for five courses at a time and will input course code along with course name, later the system will format the report in a more readable form.

Your task is to:
Write a C++ program to implement the above mentioned interface

• Your program should provide the user with options to enter data for courses along with course code. e.g.
Enter course name along with course code: CS201 Introduction to Programming

• After taking course information from user your program should prompt user to enter semester information.
e.g. Enter Semester: Fall 2016

• The program should input data for five courses and semester.
• Use structure name “course” in your program.
• Use separate functions for taking user inputs, displaying and formatting outputs.
e.g. Input Courses(),Display Header(),Display Courses(),Format Course(---) etc.

Note: Use structure to implement above program, no credit will be awarded if structure is not used.
last date 16 jan 2017

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 6785

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

koi solution send kr du bai .. hai koi alllah ka naik banda

cs201 assignment solution 3, complete and exect right solution

Please send in notepad or dev format.

*******

Raheel Ahmad email & cell no sharing is not allowed at the site.thanks 

In CS201 third assignment solution many peoples complain that solution is incorrect or have mistaken.

The third assignment consist on structure and structures have 3 ways to access his data and data types, same as some Dev. c++ compilers support different types to access data from structures.

If your Dev. c++ version showing errors then from the upper left corner change the compiler profile and compile the code again if the situation is same then find out the second way to access structure and data of structure or download Dev. C++ version 5.11 and check the solution output result is attached with the message…

Thank You!

Sami Zain

A member of JWH Team

Attachments:

Raheel Ahmad thanks 

#include<iostream>
#include<conio.h>
using namespace std;

struct Course{
string course_Code[5];
string course_Name[5];
string semester[5];
}; 
Course course;

void display_Header();

void Input_Course()
{
int i = 0;
while(i <= 4)
{
cout "Enter Course Name" endl;

cin >> course.course_Name[i];

cout "Enter Course Code" endl;

cin >> course.course_Code[i];

cout "Enter Semeter" endl;

cin >> course.semester[i];

i++;
}

}

void display_Courses()
{
for(int i = 0; i <= 4; i++)
{
cout course.course_Code[i] "\t" course.course_Name[i] endl;

}

void format_Course()
{
for(int i = 0; i <= 4; i++)
{
cout course.course_Code[i] "-" course.course_Name[i] "-" course.semester[i] endl;
}
}

void choices(int a)
{
switch(a)
{
case 1:
Input_Course();
display_Header();
break;

case 2:
display_Courses();
display_Header();
break;


case 3:
format_Course();
display_Header();
break;

case 4:
exit(0);

break;

}

void display_Header()
{
int a;
cout "Press 1 to Input Courses. "endl;
cout "Press 2 to Display Courses. "endl;
cout "Press 3 to Format Courses. "endl;
cout "Press 4 to exit." endl;
cin >> a;
choices(a);
}

int main ()
{
display_Header(); 
}

Although dead line is passed but for future students or any kind ov help. 

Global variables & Structure

Methods for tasks.

Attachments:

CS201 Assignment # 3 Solution

Attachments:

RSS

Latest Activity

Sheraz Ali posted a discussion
1 hour ago
Imran Khan replied to +¢αяєℓєѕѕ gιяℓ's discussion CS506 - Web Design and Development Assignment No.1 Due Date Nov 15, 2019 in the group CS506 Web Design and Development
2 hours ago
Imran Khan joined + M.Tariq Malik's group
2 hours ago
+ ! ! ! ! Mehαr Mαh꧂ liked + M.Tariq Malik's discussion PSC401 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material
2 hours ago
Hamza Hameed replied to + M.Tariq Malik's discussion CS611 Software Quality Engineering Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS611 Software Quality Engineering
3 hours ago
+Umar Amin+ replied to + M.Tariq Malik's discussion Criteria Required for Award Badges, Featured Members & Moderators
3 hours ago
+ !! SARAH replied to MIT's discussion Operating Systems(CS604) Assignment # 01 Deadline Date 16-11-2019 in the group CS604 Operating Systems
3 hours ago
+ !! SARAH joined + M.Tariq Malik's group
3 hours ago
November 2019 replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
4 hours ago
Hamza Hameed updated their profile
4 hours ago
Profile IconHamza Hameed, +.Ãŋɠɜʆḁ.+ and Aijaz khan joined + M.Tariq Malik's group
4 hours ago
Profile IconHamza Hameed and Purple Work joined + M.Tariq Malik's group
4 hours ago
Hamza Hameed joined + M.Tariq Malik's group
4 hours ago
Hamza Hameed joined + M.Tariq Malik's group
4 hours ago
Arham Shah replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
4 hours ago
Arham Shah joined + M.Tariq Malik's group
4 hours ago
khurram us salam replied to + M.Tariq Malik's discussion MGT402 Cost & Management Accounting Online Quiz No 01 Fall 2019 Solution Discussion in the group MGT402 Cost & Management Accounting
4 hours ago
khurram us salam joined + M.Tariq Malik's group
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ! ! ! ! MySterIouS's blog post + Beginning +
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked Mani Siddiqui BS VIII's discussion Kash Main Doure Payamber
4 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service