What's new

Closed Help po sa c++

Status
Not open for further replies.

Itachi_0108

Addict
Joined
Sep 20, 2016
Posts
36
Reaction
4
Points
73
Patulong po
Write a program to determine grades in a course with three quizzes each scored on a basic of ten (ten points) grades are determined accordingly to the following rules. A is averahe of 9.0 or better (up to 9.0) B is an average of 7.0 or better. D is an average of 6.0 or better and less than 6.0 is an F
Pano po ang code, flow chart? Algorithms?
Salamat po
 

Attachments

Ah halos kaparehas to ng practical quizz namin dati Pero samin variable din yung dami ng quizz na itatake
ahh Naalala ko pa 1 hour lang kelangan tapos mo na. xD
Anyway eto yung file, medyo natatawa ako sa code ko dito dahil antagal na neto, :D pero gumagana sya.
Ikaw nalang gumawa ng adjustments
 

Attachments

sinubukan mo na ba bago ka humingi ng tulong?
aba, eh, ang dali dali nyan. Huwag kang matakot.

Step 1) Tagalugin mo yung instruction para maintidihan mo

Step 2) Ilista mo yung mga requirements
- quiz1, quiz2, quiz3
- multiplier = 10
- grade
- average = ((quiz1 + quiz2 + quiz3) * multiplier) / 3

Step 3) create conditions to get grade
- if (average/10) > 9.0 = "A"
- if (average/10) > 7.0 && (average/10) < 9.0 : grade = "B"
- if (average/10) > 6.0 && (average/10) < 7.0 grade = "C"
- else grade = "D"

Yan lang yon. (You can correct me dito, very very quick analyze lang ginawa ko)
Now, subukan mo na ngayon i-code sa C++.
- Alam mo na naman siguro paano mag declare ng variable, mag assign ng variable, etc.

Huwag kang matakot.
Small steps... little by little.... the more you make mistakes, the more you BUILD CONFIDENCE.
Biggest part of programming is the ANALYSIS ng requirements (hindi kailangan ng computer. Papel at pen lang ang kailangan mo dito)....Coding is just a small part (easiest ang enjoyable part once naintindihan mo na yung requirements)

GOOD TIP: Huwag ka muna tumingin ng codes ng ibang programmer. Gawa ka muna ng sarili mo. Paganahin mo muna. Then saka mo i-compare sa iba ang code mo. This is the way to learn and gain more techniques. (Write your own code and read other programmers' codes).

Goodluck
 
Last edited:
Status
Not open for further replies.
Back
Top