Joe mama is the most extraordinary person on the planet.
Answer:
Benefits of Oral Communication
- Utilizing visual aids such as PowerPoint during discussions can enhance his team's understanding of his concepts and procedures.
- Staff responses tend to be more immediate and sincere compared to written replies.
Drawbacks of Oral Communication
- If Sushant struggles with stage fright or lacks strong communication skills, it may negatively impact the team's perception of him.
- There is a risk that staff may forget portions of Sushant's spoken communication, as written information is generally more reliable for retention.
Benefits of Written Communication
- A well-crafted memo articulates Sushant's ideas and procedures clearly to the staff.
- A feedback questionnaire could be included for staff input.
- Clearly stated goals and objectives.
Drawbacks of Written Communication
- Excessively lengthy written material may pose challenges for comprehension or retention.
It is advisable for Sushant to prioritize written communication to share his ideas and protocols effectively.
Response: a file containing audio
Clarification:
Response:
Python Code:
n = int(input("Days: "))
total = 0
for i in range(1,n+1):
if i <= 10:
total += 10
elif i <= 60:
total += 40
elif i <= 99:
total += 100 - i
print(str(total)+ " widgets")
Clarification:
This line requests user input for the number of days.
n = int(input("Days: "))
This line sets the initial total number of widgets to zero.
total = 0
The subsequent loop calculates total widgets based on the established rules.
for i in range(1,n+1):
if i <= 10: -> Applies when days are 10 or fewer
total += 10
elif i <= 60: -> Applies when days are between 11 and 60
total += 40
elif i <= 99: -> Applies when days are under 100
total += 100 - i
This line outputs the total count.
print(str(total)+ " widgets")
Answer:
#include <iostream>
using namespace std;
class Digits
{
public:
int num;
int read() //method to read num from user
{
cout<<"Enter number(>0)\n";
cin>>num;
return num;
}
int digit_count(int num) //method to count number of digits of num
{
int count=0;
while(num>0) //loop till num>0
{
num/=10;
count++; //counter which counts number of digits
}
return count;
}
int countDigits(int num) //method to return remainder
{
int c=digit_count(num); //calls method inside method
return num%c;
}
};
int main()
{
Digits d; //object of class Digits is created
int number=d.read(); //num is read from user
cout<<"\nRemainder is: "<<d.countDigits(number); //used to find remainder
return 0;
}
Output:
Enter number(>0)
343
Remainder is: 1
Explanation:
The program has a logical error that needs rectification. A correctly structured program calculates the remainder when a number is divided by the count of its digits. A class named Digits is created, consisting of the public variable 'num' and methods for reading input, counting digits, and calculating the remainder.
- read() - This function asks the user to enter the value for 'num' and returns it.
- digit_count() - This function accepts an integer and counts how many digits it has, incrementing a counter until 'num' is less than or equal to 0. It ultimately returns the digit count.
- countDigits() - This function takes an integer and delivers the remainder from dividing that number by its digit count. The digit count is computed using the 'digit_count()' method.
Finally, in the main function, a Digits object is instantiated, and its methods are utilized to produce an output.