• Cyberian's Gold

    DUE DATE: 2nd December, 2019 MARKS: 10
    Topic: Conditional Statements and Loop
    Q.1 Write a C/C++ language program to make the output (display on console) in a vertical position rather then in horizontal when the size of the multidimension array is n[3][3].? (5)
    Q.2 Find out and highlight the errors in the following code. Also mention the output? (5)

    void main()
    int marks;
    printf("Enter your marks "); scanf("%d",&marks); if(marks<0 && marks>100) {
    printf("Wrong Entry"); }
    if(marks<50) {
    printf("Grade F"); }
    if(marks>=50 || marks<60) {
    printf("Grade D"); }
    if(marks>=60 || marks<70) {
    printf("Grade C"); }
    if(marks>=70 || marks<80) {
    printf("Grade B"); }
    if(marks>=80 || marks<90) {
    printf("Grade A"); }
    else {
    printf("Grade A+"); }

    24 hours extra / grace period after the due date is usually available to overcome uploading difficulties. This extra time should only be used to meet the emergencies and above mentioned due date should always be treated as final to avoid any inconvenience.
    Other Important Instructions: Deadline:

     Make sure to upload the solution file before the due date on VULMS.
     Any submission made via email after the due date will not be accepted. Formatting guidelines:
     Use the font style “Times New Roman” or “Arial” and font size “12”.
     It is advised to compose your document in MS-Word format.
     You may also compose your assignment in Open Office format.
     Use black and blue font colors only.
    Referencing Guidelines:
     Use APA style for referencing and citation. For guidance search “APA reference style” in Google and read various websites containing information for better understanding or visit http://linguistics.byu.edu/faculty/henrichsenl/apa/APA01.html.
    Rules for Marking
    Please note that your assignment will not be graded or graded as Zero (0), if:
     It is submitted after the due date.
     The file you uploaded does not open or is corrupt.
     It is in any format other than MS-Word or Open Office; e.g. Excel, PowerPoint, PDF etc.
     It is cheated or copied from other students, internet, books, journals etc. Note related to load shedding: Please be proactive
    Dear students
    As you know that Pre Mid-Term semester activities have started and load shedding problem is also prevailing in our country. Keeping in view the fact, you all are advised to post your activities as early as possible without waiting for the due date. For your convenience; activity schedule has already been uploaded on VULMS for the current semester, therefore no excuse will be entertained after due date.

Insaf Sehat Card Live Cricket Streaming
Quiz 100% Result Quiz 100% Result
| |