1.) Go get bag of pet food from cabinet
2.) Set the bag on counter
3.) Get pet food dish out of cabinet
4.) Open pet food bag, pour pet food into dish
5.) Close bag, give dish to pet.
Answer:
Monday Video: 5.4.20 Section 18.5
Work due: 18.5 Worksheet
CW
Tuesday Video: 5.5.20 Section 18.6
Work due: 18.6 Worksheet
HW
Wednesday Video: 5.6.20 Section 18.7
Work due: 18.7 Classwork
CW
Thursday Video: 5.7.20 Section 18.7
Work due: 18.7 Homework
HW
Friday Video: 5.8.20 Section 18.5-18.7
Work due: Textbook page 615 #5-19 (not #13)
HWaccuracy
Explanation:
Answer:
// program in C++.
#include <bits/stdc++.h>
using namespace std;
int main() {
// variable
int num;
cout<<"Enter the number between 20 and 98: ";
// read number
cin >> num;
while(num<20||num>98)
{
cout<<"Wrong input!!enter number between 20-98 only:";
cin>>num;
}
cout<<"The output is: ";
while(num % 10 != num /10)
{
// print numbers.
cout<<num<<" ";
// update num.
num--;
}
// display the number.
cout<<num<<endl;;
return 0;
}
Explanation:
Read a number from user and assign it to variable "num".Check if entered number is in between 20-98 or not.If input number is less than 20 or greater than 98 then ask again to enter a number between 20-98 until user enter a valid input.Then print the countdown from input number till both the digit of number are same.
Output:
Enter the number between 20 and 98: 99
Wrong input!!enter number between 20-98 only:12
Wrong input!!enter number between 20-98 only:93
The output is: 93 92 91 90 89 88
Enter the number between 20 and 98: 77
The output is: 77
C. Underline because it is not a kind of font. it is an effect.