Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int main(){
int qty;
float discount = 0;
cout<<"Quantity: ";
cin>>qty;
int cost = qty * 100;
{
; }
cout<<"Cost: "<<cost - discount;
return 0;
}
Explanation:
This declares the quantity as integer
int qty;
This declares and initializes discount to 0
float discount = 0;
This prompts the user for quantity
cout<<"Quantity: ";
This gets input for quantity
cin>>qty;
This calculates the cost
int cost = qty * 100;
If cost is above 1000, a discount of 10% is calculated
{
; }
This prints the cost
cout<<"Cost: "<<cost - discount;
From what my teacher taught us it would be c.
The size of a list of integers can be found using python as follows;
size = len(list1)
<h3>How to find the size of a list using python?</h3>
The size of a list can be found using the len() function in python.
According to the question, the list is an integer.
Therefore, let's use an example below:
list1 = [1, 2, 1, 3, 6, 7, 8, 9, 4, 7, 8, 6, 4]
size = len(list1)
print(size)
Therefore, the size of a list of integers can be found using the len() function in python.
learn more on python here: brainly.com/question/14989942
#SPJ1
Answer:
The two formats supported are C. Google sheets and D. CSV
Explanation:
Google Sheets, CSV (Comma Separated Value) files and Excel files are accepted for upload in the google ads account. To upload files,
- go to conversions and click on uploads (should be found on the left sidebar).
- Look for the + (plus) sign to begin your upload.
- Locate the location of the documents either on your local computer or sync with google sheets.
- Once the upload is complete, click the preview button to check the uploaded data to see it if it correct.
- As soon as you are satisfied, click on Apply to sync your data to your google ads account.
One step is to right click on the word to add it to her personal dictionary. or, <span><span>Press F7. Word starts the spelling and grammar checking utility. </span><span>Make corrections, as appropriate, when prompted.
</span></span>
However, one can create a macro that would do the conversions :
1) Identify a list of words whose spelling you want to convert.2) Turn on the macro recorder. 3) Use the Replace feature to replace the spellings.4) Turn off the macro recorder.
The macro will do a conversion from one to the other. Later, as we have more words that need to be automatically replaced, we can just edit the macro and add those words.