What's new

# HelpC# Error while in putting "else"

#### G I N E B R A

Elite
Guys bakit kaya nag eerror to? Kanina kopa hindi makuha kuha.

#### Benzoii

Established
patingin ng syntax lods hehe

Comment

#### WatchMefall

Elite
check mo yung mga braces mo and colons

Comment

#### inusena

Elite
baka po may mali sa code hehe

Comment

Elite
Comment

#### G I N E B R A

Elite
Paps. Iba nato baka alam nyo
patingin ng syntax lods hehe
check mo yung mga braces mo and colons
baka po may mali sa code hehe
PT 2
Directions: Design algorithm ang flow chart that displays the product of two number using Repeated addition.
Algorithm
Step 1 - Start
Step 2 – int A = 0, B = 0, C= 0

C# Language po kami.

Comment

#### inusena

Elite
int num1=0, num2=0, count=0, product=0;
input num1;
input num2;
while (count < num2){
product = product + num1;
count++;
}
display product;

convert mo na lang po sa algorithm at flow chart haha

Comment

#### G I N E B R A

Elite
int num1=0, num2=0, count=0, product=0;
input num1;
input num2;
while (count < num2){
product = product + num1;
count++;
}
display product;

convert mo na lang po sa algorithm at flow chart haha
Pa convert kuys. Aralin ko nlng. 1st year lang po kase ako e. Tas nung K12 humms pa kinuha ko. Kya wala po talaga ako background. Pa help po.

G I N E B R A
Ayan po. Salamat po talaga.

#### inusena

Elite
Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End

inusena
no prob po, picture mo ulit pacheck, wala ba internet yung computer para malinaw screenshot

#### G I N E B R A

Elite
Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End
Salamat Paps pano din po kaya pag Flowchart ito?

G I N E B R A
wala pong D

#### G I N E B R A

Elite
Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End
Salamat po. Pero kuys. Wala pong D

#### Attachments

G I N E B R A
paps ginawa kona kaya lang napatigil ako hindi kona alam next.

#### G I N E B R A

Elite
no prob po, picture mo ulit pacheck, wala ba internet yung computer para malinaw screenshot
Wala paps. E CP kolang talaga at Tu50 lang ako. Pag sa loptop mabilis kainin ang data. Sayang din pang Online class kolang nakalaan to.. Salamat paps sapag guide.

G I N E B R A

Directions:
1. Create Struct BoardMarker with the ff: members (inkColor and inkContent) with inital values (Black and 20). Declare the ff: methods
A. displayInfo (Show the inkColor and inkContent)
B. changeColor ( Ask the user to input new color. Note: You cannot change the color if the ink is not empty)
C. Refill( Set the inkContent to 20ml)
D. Write(Deduct 10ml every time you execute this method) Note: You cannot execute this method if the inkContent is empty…Prompt the user to refill.
In the main Method, create a Struct Variable bm of the Struct BoardMarker. Show the Main MENU

Sample Output:

1. Display Info
2. Change Color
3. Refill
4. Write
Enter you choice:

Kuys. Pano kaya to? C# po

#### PHC - Naethan

Elite
C# napaka saya niyan

Comment

Replies
23
Views
226
Replies
9
Views
109
Replies
0
Views
31
Replies
11
Views
166
Replies
0
Views
91

Members online
1,488
Guests online
2,091
Total visitors
3,579