Answer:
Statement to assign 32 to variable cheeses.
cheeses=32;
Explanation:
To assign any value to a variable in any programming language, we use "="operator.First declare a variable "cheeses"of type "int" in this case.Then assign 32 to variable "cheeses" with the help of "=" operator.After assigning 32 , variable will store 32 in it.
Implementation in c++.
#include <bits/stdc++.h>
using namespace std;
int main()
{
int cheeses;
cheeses=32;
return 0;
}
Don't be afraid of spooderman. He's hot.
Answer:
public class num6 {
public static void main(String[] args) {
int n = 4;
for(int i = 1; i <= n; ++i) {
for(int j = 1; j <= i; ++j) {
System.out.print("* ");
}
System.out.println();
}
}
}
Explanation:
This solution is implemented in Java
Two for loops are required for this (an inner nd outer for loop).
The innner and outer for loops can be seen as implementing rows and columns (so on the first 'row' i=1, so a single star is printed, on the second row, i =2, two stars are printed and so on, all on seperate lines)
The correct answer on Edgen is:
(B.) False
I just took the test and this is the right answer.
Explanation:
yhddhhdhsudhenndjeieoeknenejej