1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
g100num [7]
3 years ago
11

4. Write an appropriate comment for describ-

Computers and Technology
1 answer:
Mazyrski [523]3 years ago
4 0

Answer:

AMAZING WORK YOUR SCORES WILL HELP YOU LATER ON

Explanation:

  1. THIS GIFT IS FOR MR REHMAN ITS A GRADE CALCULATOR
You might be interested in
Write a C++ function with the following signature: void readAndConvert() The function takes no parameters and returns no value.
shepuryov [24]

Answer:

The function is as follows:

void readAndConvert(){

   int n; string symbol,name;

   cin>>n;

   cin>>symbol;

   cin.ignore();

   getline (cin,name);

   vector<string> trades;

   string trade;

   for (int inps = 0; inps < n; inps++){

       getline (cin,trade);

       trades.push_back(trade);}

   

   cout<<name<<" ("<<symbol<<")"<<endl;

   for (int itr = 0; itr < n; itr++){

       string splittrade[3];        int k = 0;

       for(int j=0;j<trades.at(itr).length();j++){

           splittrade[k] += trades.at(itr)[j];

           if(trades.at(itr)[j] == ' '){

               k++;    }}

cout<<splittrade[2]<<": "<<floor(stod(splittrade[1]) * stod(splittrade[0]))<<endl;        }

   }

Explanation:

See attachment for complete program where comments are used to explain each line

Download cpp
4 0
2 years ago
What part of speech is contend
Amiraneli [1.4K]
Assuming the context, it would be considered a verb.

ie: "She contended to me that I was not acting maturely." 
7 0
2 years ago
including how it can be stored and what types of operations we can perform. For example, we can write a program that squares num
ASHA 777 [7]

Answer:

The solution code is written in Python:

  1. def square(num):
  2.    if type(num).__name__ == 'int':
  3.        sq_num = num * num
  4.        return sq_num  
  5.    else:
  6.        return "Invalid input"
  7. print(square(5))
  8. print(square("Test"))

Explanation:

To ensure only certain type of operation can be applied on a input value, we can check the data type of the input value. For example, we define a function and name it as <em>square</em> which take one input number, <em>num </em>(Line 1).

Before the <em>num</em> can be squared, it goes through a validation mechanism in by setting an if condition (Line 2) to check if the data type of the input number is an integer,<em> int.</em> If so, the<em> num </em>will only be squared otherwise it return an error message (Line 6).

We can test our function by passing value of 5 and "Test" string. We will get program output:

25

Invalid input

6 0
3 years ago
Algonac Systems, a software start-up company, uses a technology in which the employees have to key in certain names and their re
Masteriza [31]

Answer:

ADD ME ON TIK TOK @ madison.beautiful.dancer

Explanation:

3 0
3 years ago
Find meanings for the words and give examples where you can<br><br> WORTH 30 points
NARA [144]
Vector: A one dimensional array. A 1 inch arrow pointing at a 30° angle.
Bitmap: Image file format. An image displayed on a computer monitor.
Image file types: JPEG, GIF, PDF.
Variables: A value that can change based on information in the program. null, int, char.
Program sequencing: Running code in order, from top to bottom.
Program integration: Combining parts of software into one system.
HTML: Programming language, short for Hypertext Markup Language. You can create paragraphs with HTML.
Good web design: A website that is easy to use, pleasing to look at, and suits the brand of the website accordingly.
3 0
3 years ago
Other questions:
  • PLEASE HELP, True or False: The term whitespace speaks to the design of a website
    8·2 answers
  • Effective presentations vary the color scheme on each slide.<br><br> True<br> False
    5·2 answers
  • When you print a worksheet or use the Page Setup dialog box, Excel inserts __ breaks that show the boundaries of what will print
    7·1 answer
  • A ______________ is a way of taking a screenshot or a picture of your computer screen. ​
    14·1 answer
  • Political parties to address the interest of civil society<br>​
    7·1 answer
  • You are the CEO of a large tech company and have just received an angry email that looks like it came from one of your biggest c
    12·1 answer
  • I know I should add Family and food by default (and I will) But I wanna hear some more from other peoples perspective
    7·2 answers
  • Changing how information is represented so that it can be read by a computer is called
    7·1 answer
  • If you are using a sprite for your MakeCode Arcade game, which code block
    7·2 answers
  • Which type of information should never be given out on social media?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!