Whats the question if its true or false, then true
Hope this helps, Upvote if you like it :)
Answer:
C++.
Explanation:
void printStrings(char strings[NUM_STRINGS][STRING_LENGTH]) {
// Multi dimension array can be traversed through multi-level loops
for (int i = 0; i < NUM_STRINGS; i++) {
for (int j = 0; j < STRING_LENGTH; j++) {
cout<<"<<strings[i][j]<<";
}
cout<<endl;
}
}
Output would be like this, depending on the size of NUM_STRINGS;
"One"
"Two"
"Three"
....
Answer:
weightEarth = float(input("Enter weight on earth: "))
weightMoon = weightEarth/6
print("Weight on moon:", weightMoon)
Explanation:
You have to convert the string input into a float in order to do calculations with it.