Question: computer programing Question 1 Modify your C program from Q1 in Problem Set 1 last week to draw a Christmas tree when user enters 1

computer programing  computer programing Question 1 Modify your C program from Q1 in
Problem Set 1 last week to draw a Christmas tree when user
enters 1 and to draw a Star when user chooses 2. Press
(1) for Xmas Tree (2) for Star: 1 Press (1) for Xmas

Question 1 Modify your C program from Q1 in Problem Set 1 last week to draw a Christmas tree when user enters 1 and to draw a Star when user chooses 2. Press (1) for Xmas Tree (2) for Star: 1 Press (1) for Xmas Tree (2) for Star: 2 **** Question 2 Write a C program to take a course mark as an input and display the GPA and Grade according to the following table: Marks Grade CGPA 80 - 100 A. 4.00 76 - 79 A 3.75 72 - 75 A 3.50 68 - 71 B+ 3.25 64-67 B 3.00 60-63 B- 2.75 56 - 59 2.50 53.55 2.25 50 - 52 c 2.00 45-49 D. 1.50 40-44 D 1.00 0 - 39 F 0.00 Sample Program Output Enter your course mark: 80 Your GPA : 4.00 Your Grade: A+ Enter your course mark: 60 Your GPA : 2.75 Your Grade: - Enter your course mark: O Your GPA : 0.00 Your Grade: F Enter your course mark: -1 Enter your course mark in between 0 to 100. Question 3 Using if..else and logical operators, print the truth table for: AND Output True True True True False False False True False False False False OR P Q Output True True True True False True False True True False False False XOR P Q Output True True False True False True False True True False False False What's a Truth Table? https://en.wikipedia.org/wiki/Truth table Questions Question 4 A Nobel Prize Candidate materia. A person who does (t) significant the and makes through into her work Witte a programski ple question above and mine whether the possible Nobel Prie Candidate Parts) Now, the Norwegian Nobel Committee decided to induce the crite The candidate nominated by the stone Nobel Le Noster Premer Modtytur nga Questions Witte program to napratet us a character input and determine whetherspor letterYour program should the print the alphabet character artered with ASC Complete your program with the code below Tipe: The ABC values for iphabets A- 265 to 90 and 17122 Reference.com included b. Latita yrity Alphabet Tutun EXIT_OCCESS Sample Program Output y a Onut apbabet

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!