Current Papers

Midterm Spring 2026
1,920 views
CS201 - CS201

01 Jun 2026 at 09:17 AM

Ye aik program Aya tha Write a C++ program that takes an employee ID from the user and displays the corresponding profession using a switch statement. The program should work as follows: If the user …

Ye aik program Aya tha Write a C++ program that takes an employee ID from the user and displays the corresponding profession using a switch statement. The program should work as follows: If the user enters ID 1, display "Professor" If the user enters ID 2, display "Assistant" If the user enters ID 3, display "Lecture" If the user enters ID 4, display "Assignment" If the user enters ID 5, display "System" If the user enters ID 6, display "Analyst" For any other input, display "Invalid ID" argc and argv ka related question tha aik mcq or 1 error Wala tha or switch Wala 2/3 tha and do while loop ka syntax and break statement kis Liya use Hoti or aik equation thi solve krni thi

View Full Paper
Share
Shared by NoMi 1 month ago
© 2026 VUCTN. All rights reserved. v1.0.0