Answer:
Sure! I'll comment in the comments of this answer on how it was <3
They can study what the video game consoles are made up of and how they work so that way the can implement them into their work.
Answer:
item based for loop is used to iterate items in a collection .it is useful to apply some operations on item. Index based for loop is used to execute some logic repetitively. While loop also useful to execute a logic repetitively
Explanation:
item based for loop is used to iterate items in a collection .it is useful to apply some operations on item. Index based for loop is used to execute some logic repetitively. While loop also useful to execute a logic repetitively
in c#.net , following example explains this
using system;
void main(){
String[] names=new names[20];
int counter=0;
//index based for loop
for(int i=0;i<20;i++){
console.read(names[i]);
}
//item based for loop
foreach(string s in names){
console.writeline(s);
}
//while loop
while(counter<20)
{
console.read(names[counter];
counter++;
}
}
Thank you, pal!
You are invited to my clubhouse!
data declaration means a variable which contain data value and it can be declared as integer, float, character, double, boolean (data types).
example:
int r;
char name;
float g;
double k= 23.34;