// C++ switch
// It can also be used for JAVA, C#
switch(age){
// here age will be sent by the function in which it is used
// case to check the age<2
case(age<2 && age>0):
// printing the line
cout<<"ineligible";
// case to check the age ==2
case(age==2):
// printing the line
cout<<"toddler";
// case to check 3-5
case(age>=3 && age<=5):
cout<<"early childhood";
// case to check 6-7
case(age==6 || age==7):
cout<<"young reader";
//case to check 8-10
case(age>=8 && age<=10):
cout<<"elementary";
// case to check 13
case(age==13):
cout<<"impossible";
//case tocheck 14-16
case(age>=14 && age<=16):
cout<<"high school";
// case to check 17 or 18
case(age==17 || age==18):
cout<<"scholar";
//case to check >18
case(age>18);
cout<<"ineligible";
// default case
default:
cout<<"Invalid age";
}
Read more on Brainly.com - brainly.com/question/12981906#readmore
25 SQUARES
How this is calculated?
- The size of the squares doesn't matter, since the number of squares will be the same.
- We have a row of 5 squares: and on top of this you stack 5 more squares.
- Doing this for a total of 5 times so that we have 5 rows with 5 squares each.
- So we have 5 + 5 + 5 + 5 + 5 = 25 squares.
What is an array?
- An array is a data structure that holds similar, related data.
- Before an array can be used, it must be declared. To declare an array a programmer gives it at least two properties:
- an identifier
- a size - the number of elements it will hold
To know more about arrays, refer:
brainly.com/question/26104158
#SPJ4
Answer:
-19/32
Explanation:
(If I assume d to be x)
4x+3/8=-2
or,4x=-2-3/8=-19/8
or,x=(-19/8)*(1/4)=-19/32
<span>The Glacial deposition is the settling of sediments left behind by a moving glacier. As glaciers move over the land, they pick up sediments and rocks. The mixture of unsorted sediment deposits carried by the glacier is called glacial till. Piles of till deposited along the edges of past glaciers are called moraines.</span>