Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime(int bagOunces) {
if(bagOunces < 3){
cout << "Too small";
cout << endl;
}
else if(bagOunces > 10){
cout << "Too large";
cout << endl;
}
else{
cout << (6 * bagOunces) << " seconds" << endl;
}
}
int main() {
PrintPopcornTime(7);
return 0;
}
Explanation:
Using C++ to write the program. In line 1 we define the header "#include <iostream>" that defines the standard input/output stream objects. In line 2 "using namespace std" gives me the ability to use classes or functions, From lines 5 to 17 we define the function "PrintPopcornTime(), with int parameter bagOunces" Line 19 we can then call the function using 7 as the argument "PrintPopcornTime(7);" to get the expected output.
Answer:
A good design for a portable device to mix paint minimizing the shaking forces and vibrations while still effectively mixing the paint. Is:
The best design is one with centripetal movement. Instead of vertical or horizontal movement. With a container and system of holding structures made of materials that could absorb the vibration effectively.
Explanation:
First of all centripetal movement would be friendlier to our objective as it would not shake the can or the machine itself with disruptive vibrations. Also, we would have to use materials with a good grade of force absorption to eradicate the transmission of the movement to the rest of the structure. Allowing the reduction of the shaking forces while maintaining it effective in the process of mixing.
Answer:
Java program explained below
Explanation:
FindSpecialNumber.java
import java.util.Scanner;
public class FindSpecialNumber {
public static void main(String[] args) {
//Declaring variable
int number;
/*
* Creating an Scanner class object which is used to get the inputs
* entered by the user
*/
Scanner sc = new Scanner(System.in);
//getting the input entered by the user
System.out.print("Enter a number :");
number = sc.nextInt();
/* Based on user entered number
* check whether it is special number or not
*/
if (number == -99 || number == 0 || number == 44) {
System.out.println("Special Number");
} else {
System.out.println("Not Special Number");
}
}
}
_______________
Output#1:
Enter a number :-99
Special Number
Output#2:
Enter a number :49
Not Special Number
Answer:
The rate of energy absorbed per unit time is 3500W.
Explanation:
From the question, we were given the following parameters;
Plane, opaque, gray, diffuse surface
â = 0.7
Surface area, A = 0.5m²
Incoming radiant energy, G = 10000w/m²
T = 500°C
Rate of energy absorbed is âAG;
âAG = 0.7 × 0.5 × 10000
âAG = 3500W.
The energy absorbed is measured in watts and denoted by the symbol W.
Answer:
(a) 3.455
(b) 21.143
(c) 16.36L/min
Explanation:
In this question, we’d be providing solution to the working process of a refrigerator given the data in the question.
Please check attachment for complete solution and step by step explanation