Skip to content

Commit 90d5068

Browse files
authored
Update 10-basic-exercise.md
1 parent 741309b commit 90d5068

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Exercises-And-Solutions/exercises/10-basic-exercise.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Question 1
22

3-
Create Bill Calculator
3+
Create Bill Calculator.
44

55
Ask below Questions
66

@@ -14,9 +14,9 @@ Use can enter any number of quantities. Calculate the bill based on the quantiti
1414
item count as 0.
1515

1616
### Question 2
17+
Print below Pattern:
1718

1819
```
19-
Print below Pattern
2020
$##$##$
2121
$##$##
2222
$##$
@@ -26,18 +26,19 @@ $
2626

2727
### Question 3
2828

29-
Ask the user question "How many times do you want to print Series". Then print below series. For example below series will print if user enteres 5
29+
Ask the user question "How many times do you want to print Series". Then print below series. For example below series will be printed if user enteres 5
3030

3131
2, 6, 30, 260, 3130
32-
Find the pattern for above series and print accordingly. If the user enters 10 then we will print the same series numbers till 10 times.
32+
33+
Find the pattern for above series and print accordingly. If the user enters 10 then we will print the same series numbers total 10 times.
3334

3435
### Question 4
3536

36-
Using a switch case to do this exercise
37+
Using a switch case to do the below exercise:
3738

38-
- If number is odd then print Odd
39-
- If number is even then print Even
40-
- If number is 100 then print 100
39+
- If number is odd then print "Odd"
40+
- If number is even then print "Even"
41+
- If number is 100 then print "100"
4142
- Else print 10000
4243

4344
### Question 5

0 commit comments

Comments
 (0)