Answer:
prompt("Enter a value for one edge of a cube")
Store user's value into edgeCube
area = 6 * (edgeCube * edgeCube)
volume = edgeCube * edgeCube * edgeCube
print("One side of the cube is: " + edgecube);
print("The area is: " + area)
print("The volume is: " + volume)
Answer:
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main()
{
// Declare integer variable n which serves as the quotient.
int n;
// Prompt to enter any number
cout<<"Enter any integer number: ";
cin>>n;
// Check for divisors using the iteration below
for(int I = 1; I<= n; I++)
{
// Check if current digit is a valid divisor
if(n%I == 0)
{
// Print all divisors
cout<<I<<" ";
}
}
return 0;
}
The Option D , Table Tools Insert
Given 1234
i=1
user num=4#assume positive
while (user-num>=i);
print(i)
i+=1
#include <iostream>
using namespace std;
int main()
{int userNum=0;
int i=0;
userNum=4; ##assume positive
i=1;
while (i <=userNum){
cout<<i>>" ";
i=i+1;
cout <<endl;
return0;
}
Answer:
The term memory collectively describes hard disk, CD and flash drive
Explanation: