Question: Write proper constant declarations for the following: (12%) (You have to pick meaningful names,) a) An integer constant representing the number of weeks in a
Write proper constant declarations for the following: (12%) (You have to pick meaningful names,) a) An integer constant representing the number of weeks in a year b) A character constant representing the blank character c) A float constant representing the provincial sale tax rate. 4.00 on 2) Choose a meaningful name and write a variable declaration for each of the following values and initialize them to suit your situation. (You must pick an appropriate type for each variable.) (12%) a) A variable to hold the number of courses you are taking this term; b) A variable to hold your current GPA; c A variable to hold the number of credits you have completed so far
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
