Well, you didn't say what language, so here's in Java:
public static void PrintShampooInstructions(int numCycles)
{
if(numCycles < 1)
System.out.println("Too few.");
else if (numCycles > 4)
System.out.println("Too many.");
else
{
for(int i = 1; i <= numCycles; i++)
{
System.out.println(i+": Lather and rinse.");
}
System.out.println("Done.");
}
}
And also in an image, in case you can't really see it
How can you protect against phishing and spoofing scams?
Anti-spyware and firewall settings should be used to prevent phishing attacks and users should update the programs regularly. Firewall protection prevents access to malicious files by blocking the attacks. Antivirus software scans every file which comes through the Internet to your computer.
Where is the diagram and answers?
C
.............
When hard disk drives became standard in most PCs in the later 1980s, since the first two letters were already commonly used for these floppy drives, they logically labeled the third storage device “C”, even though it now tended to be the main storage medium for the computer, including usually containing the operating system.
The answer is definitely C. 3