1. ERICUS Company sells Ghacem cement at 30.0 Ghana Cedis per bag. The company however gives discount of 15% for customers that buy 100 or more bags, and 0% for customers that buy less than 100 bags. Write a pseudocode.

Answers

Answer 1

See Comment for complete question

Answer:

Input Bags

Discount = 0%

If Bags >= 100 Then

Discount = 15%

End If

Print Discount

Stop

Explanation:

This gets the number of bags bought

Input Bags

This initializes the discount to 0%

Discount = 0%

If the bags of cement bought is 100 or above

If Bags >= 100 Then

This discount becomes 15%

Discount = 15%

This ends the if statment

End If

This prints the discount percentage

Print Discount

This ends the pseudocode

Stop


Related Questions

20.

Meter is to Kilometer as Gigabyte is to

?

... PINGULAR

A. Byte

B. Terabyte

C. Kilobyte

O D. Pedabyte

E. Megabyte

Previous

Answers

Answer:

Megabyte

Explanation:

Megabytes come before Gigabytes like how Gigabytes come before Terrabytes

A header is printed in the _____ margin
(1)Top
(2)Bottom
(3)Side
(4)both a and b ​

Answers

Answer:

(1)Top

Explanation:

Bcoz it is header

A header can be printed on the top margin.

What is a header?

A part of a text in the line that is generally used to describe the title or the topic of the text contained below such line is known as a header. It is represented in the top margin, as a title can be written on the bottom side.

Hence, option A holds true regarding a header.

Learn more about a header here:

https://brainly.com/question/15163026

#SPJ2

Say you have 3 computers. Compare the cost of replacing the modem with a router/modem. Include the brand as well as price. I can't answer questions about this as I don't know what to do

Answers

Answer:

Comparing the cost of replacing the modem with a router/modem and its need in day today changing life.

Explanation:

As you known modem devices develop at a very gradual pace, you can normally use a modem for months, until it breakdown, but you might need to substitute a router because you require a more reachable area. After all, you've joined more computers to your web and your old router isn't holding up, or because you need to take the support of the latest development.

What is the major difference between the intranet and extranet?
Question 36 options:

Intranets hold more importance

The major difference between the two, however, is that an intranet is typically used internally.

Extranets improve internal communications

None of the above

Answers

Explanation:

The major difference between the two, however, is that an intranet is typically used internally.

The major difference between the intranet and extranet is that The major difference between the two, however, is that an intranet is typically used internally.

What is an Intranet?

Traditionally, an intranet is the concept of as a non-public and confined inner Web-primarily based totally web website online and/or community this is best handy to customers inside an organization.

An intranet is a non-public community contained inside an agency this is used to soundly proportion business enterprise facts and computing assets amongst employees. An intranet also can be used for operating in corporations and teleconferences. Intranets inspire communique inside an organization.

Read more about the communications:

https://brainly.com/question/26152499

#SPJ2

When designing code, which of the following best describes the purpose of a Post Mortem Review?

To obtain feedback on the code
To translate pseudocode to program code
To use code only one time
To check if others have the same code

Answers

Answer:

4

Explanation:

to check if others have the same code

Select the statements that explain marking and categorizing messages. Check all that apply.


The Read/Unread option is a toggle button that marks a message read or unread.

You can mark a message as unread when you want to come back to it later.

You can mark a message as read by turning off the Categories option.

Categories are color coded and can be renamed and sorted.

Grouping different types of messages together can be done using Read/Unread.

answer: A B D

Answers

Answer:

The Read/Unread option is a toggle button that marks a message read or unread.

You can mark a message as unread when you want to come back to it later.

Categories are color coded and can be renamed and sorted.

Explanation:

Consider the following code segment, which is intended to simulate a random process. The code is intended to set the value of the variable event to exactly one of the values 1, 2, or 3, depending on the probability of an event occurring. The value of event should be set to 1 if the probability is 70 percent or less. The value of event should be set to 2 if the probability is greater than 70 percent but no more than 80 percent. The value of event should be set to 3 if the probability is greater than 80 percent. The variable randomNumber is used to simulate the probability of the event occurring.
int event = 0;
if (randomNumber <= 0.70)
{
event = 1;
}
if (randomNumber <= 0.80)
{
event = 2;
}
else
{
event = 3;
}
The code does not work as intended. Assume that the variable randomNumber has been properly declared and initialized. Which of the following initializations for randomNumber will demonstrate that the code segment will not work as intended?
A) randomNumber = 0.70;
B) randomNumber = 0.80;
C) randomNumber = 0.85;
D) randomNumber = 0.90;
E) randomNumber = 1.00;

Answers

Answer:

A) randomNumber = 0.70;

Explanation:

The code works perfectly for all values of randomNumber given in the options except option (a)

This is so because:

The first condition

if (randomNumber <= 0.70)  {  event = 1;  }

It checks if randomNumber is less than or equal to 0.70. This is true, so event is set to 1.

However, the next condition after it will also be executed because it is a different conditional to be executed.

So, we have:

if (randomNumber <= 0.80)  {  event = 2;  }

This condition is also true, so event is set to 2.

From the question randomNumber is meant to be event 1. However, this is different from the result of executing the code.

Hence, (a) is true

Which tab of the ribbon should you go to for removing gridlines on a worksheet?​

Answers

Answer:

just click on the option gridline

You should go to the Page Layout tab of the ribbon to remove gridlines on a worksheet.

This tab hold all the features and options that can enable you to arrange your documents as you want them to appear.

It can help you to do the following:

set marginstake control of the page orientationDisplay line breaksAdd sectionsSet paragraphs and also indent.

Read more on: https://brainly.com/question/11874395?referrer=searchResults

what are layers in Photoshop ​

Answers

Answer:

Photoshop layers are like stacked pieces of stacked acetate. You can see through some parts because they are transparent. You can use layers to add on to your picture easily like adding extra images, text, or colors.

Which family of controls included in the risk management Infrastructure is related to preventing the use of unauthorized codes?​

Answers

Answer:

Operational Security Control

Explanation:

The family of controls included in the risk management Infrastructure that is related to preventing the use of unauthorized codes is known as "Operational Security Control."

This is because Operational Security Control defines potency of controls which involves the access controls, including the use of unauthorized codes, authentication, and security measures made to networks, systems, and applications.

Answer:

system and information integrity

Explanation:

i got a 100 on the test

8.11 LAB: Contact list (C++)









A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. Write a program that first takes as input an integer N that represents the number of word pairs in the list to follow. Word pairs consist of a name and a phone number (both strings). That list is followed by a name, and your program should output the phone number associated with that name.


Ex: If the input is:


3 Joe 123-5432 Linda 983-4123 Frank 867-5309

Frank

the output is:


867-5309


Your program must define and call the following function. The return value of GetPhoneNumber is the phone number associated with the specific contact name.

string GetPhoneNumber(vector nameVec, vector phoneNumberVec, string contactName)


Hint: Use two vectors: One for the string names, and the other for the string phone numbers.

Answers

Answer:

The vectors and phone numbers are 123-5432-983-4123-867-5309

Explanation:

What are some study habits that you practice? Check all that apply.
studying with friends
studying on a regular schedule
taking breaks while studying
getting good sleep
studying in a quiet area

Answers

Answer:

studying in quiet place

Taking breaks

Reading from notes

good sleep

eating healthy foods

group study

studying on regular schedule

revision

Some study habits that you should practice are studying with friends, studying on a regular schedule, taking breaks while studying, getting good sleep, and studying in a quiet area. All options are correct.

What are good studying habits?

Effective study techniques can be used by someone who wants to get good scores. Summarizing, limiting distractions, taking breaks, and memorization are some good study techniques.

Several good study practices include: When studying, summarize your notes, avoid studying when you're sleepy, memorize your notes, limit distractions, and take breaks.

Study habit is an action such as reading, taking notes, holding study groups which the students perform regularly and habitually in order to accomplish the task of learning.

Therefore, the correct options are a, b, c, d, and e.

To learn more about studying habits, refer to the link:

https://brainly.com/question/14735769

#SPJ5

Write a program that:

a. asks user to input the temperature in Fahrenheit.
b. It converts the inputted temperature into Celsius.
c. Calculates the speed of sound in meters per second and in feet per second. The program should display user's inputs and print the results in both m/s and ft/s

Answers

Answer:

sucks to suck

Explanation:

Why is hydroelectricity counted as a conventional source of energy.. People say conventional sources of energy is the same as non-renewable energy sources

Answers

People have been using the energy of flowing or falling water for centuries before electricity was developed into a practical means of transporting energy. The first hydroelectric plant (at least in the U.S.) was built at Niagara Falls in 1895. Many areas of the world still get the majority of their power from hydro facilities.

Hydro is also “conventional” in the sense that it can be controlled in more or less the same way as thermal plants — its output can be adjusted over a wide range to match demand. Wind and solar, on the other hand, only produce when the wind blows or the sun shines. Of course, hydro can only produce as long as there’s rain or snowmelt to supply the reservoirs, but that’s on a much longer time scale; over hours or days, hydro capacity is very predictable.

Word processing package allow users to?

Answers

Explanation:

allows users to create, edit, and print documents. It enables you to write text, store it electronically, display it on a screen, modify it by entering commands and characters from the keyboard, and print it. 

45. Our goals are a reflection of our:
O values
O standards
O obstacles
O resources
beliefs
values and beliefs

Answers

Values hope it helps you

raman will perform in pune tomorrow(simple past)​

Answers

Answer:

Raman performed in Pune yesterday

Answer:

Raman had performed in Pune

Directions: Identify the measuring devices and write its functions.
Write your answer in the space provided.

Answers

Answer:

1.weigher - to weigh meat

2.

3. scissor - to cut things

4. tongs

5.measuring cups - to measure dry ingredients like flour

6 temperature - measures temperature

7 measuring spoons

A five-year prospective cohort study has just been completed. the study was designed to assess the association between supplemental vitamin a exposure and mortality and morbidity for measles. the rr for incidence of measles was 0.75 and the rr for measles mortality was 0.5. Assume these RR are significant. Regarding the RR reported above, which statement is correct?

a. Exposure to vitamin A appears to protect against morbidity and mortality for measles.
b. Exposure to vitamin A appears to be a risk factor for morbidity and mortality for measles.
c. Exposure to vitamin A is not associated with morbidity and mortality for measles.
d. Exposure to vitamin A is a risk factor for morbidity and a protective factor for mortality for measles.

Answers

Answer:

Exposure to vitamin A appears to be a risk factor for morbidity and mortality for measles.

Explanation:

When adjusting the bounding box around text, hold the key to scale proportionately or the key to skew the object

Answers

Answer: ?

Explanation:

how can you best explain server side caching with web pages​

Answers

Answer:

Server side web caching typically involves utilizing a web proxy which retains web responses from the web servers it sits in front of, effectively reducing their load and latency.

Explanation:

While the Internet is used to share many useful services and information, there are growing concerns about the way that the Internet can be used to spread damaging information ranging from national secrets to calls for violence. Censoring this information may provide some people with increased security, but potentially risks free speech and the safety of social and political activists.

a. True
b. False

Answers

Answer:

A true!

Explanation:

HELPOO ILL GIVE BRAINLIEST

Answers

Answer:

e

Explanation:

giv brainilest :D

1) Who invented C Language.?
A) Charles Babbage
B) Grahambel
C) Dennis Ritchie
D) Steve Jobs​

Answers

Answer:

Dennis Ritchie is the answer

7 steps in infographic design​

Answers

Answer:

Step 1: Choose your topic and research your audience. Before looking at your data, think about a topic and an audience with whom it can resonate.  

Step 2: Take a look at your data and consolidate it.  

Step 3: Craft the copy.  

Step 4: Design!  

Step 5: Review, review, review.

Step 6: Publish and promote.  

Conclusion.

Explanation:

Process infographics are a specific type of infographic, designed to visualize, summarize and simplify processes. They're perfect for visualizing marketing strategies, new employee onboarding, customer journey maps, product guides, recipes and more.

What is a boot sector

Answers

Explanation:

A boot sector is the sector of a persistent data storage device which contains machine code to be loaded into random-access memory and then executed by a computer system's built-in firmware. Usually, the very first sector of the hard disk is the boot sector, regardless of sector size and partitioning flavor.

Under the Gramm-Leach-Bliley-Act (GLBA), banks must protect customer privacy. A given bank has just implemented its online banking solution that allows customers to access their accounts and perform transactions via their computers or personal digital assistant (PDA) devices. Online banking servers and their public Internet hosting would fall within which domains of security responsibility?

Answers

Answer:

System/Application Domain and LAN-to-WAN Domain.

Explanation:

The Gramm-Leach-Bliley-Act is also referred to as the Financial Services Modernization Act of 1999. It was enacted by the 106th Congress of the United States of America and it requires that financial institutions explain to their customers the information sharing policies and ensure that customer sensitive data (privacy) is safeguarded.

This, under the Gramm-Leach-Bliley-Act (GLBA), banks must protect customer privacy.

In this scenario, a given bank has just implemented its online banking solution that allows customers to access their accounts and perform transactions via their computers or personal digital assistant (PDA) devices.

Hence, online banking servers and their public Internet hosting would fall within the System/Application Domain and LAN-to-WAN Domain.

In an IT infrastructure, there are seven main domains and these are the: User Domain, Workstation Domain, LAN Domain, LAN-to-WAN Domain, Remote Access Domain, WAN Domain, and System/Application.

Write a program that uses while loops to perform the following steps:

a. prompt the user to input two integers: firstNum and secondNum
b. Output all odd numbers between firstNum and secondNum.
c. Output the sum of all even numbers between firstNum and secondNum.
d. Output the number and their squares between 1 and 10
e. Output the sum of the square of the odd numbers between firstNum and secondNum.
f. Output all uppercase letters.

Answers

Answer:

Explanation:

//Include the required header files.

#include<iostream>

using namespace std;

//Define the main function.

int main()

{

//Define the variables.

int i, sum = 0, sqSum = 0, firstNum = 1, secondNum = 0;

char ch;

//Check for valid input.

while (!(firstNum < secondNum))

{

cout << "Enter starting number: ";

cin >> firstNum;

cout<<"Enter ending number(must be > startingNumber): ";

cin >> secondNum;

}

//Store first number in i

i = firstNum;

//Dispaly the number.

cout << "The odd numbers between " << firstNum

<< " and " << secondNum << " are:\n";

//Iterate between first and second number.

while (i <= secondNum)

{

//Check for even numbers.

//Store the sum

if (i % 2 == 0)

sum = sum + i;

//Print the odd numbers

//Evaluate the square of sum of odd number.

else

{

cout << i << " ";

sqSum = sqSum + i * i;

}

//Increase the value of i.

i++;

}

//Dispaly the sum of even numbers.

cout << "\n\nThe sum of the even numbers is:"

<< sum << endl << endl;

//Dispaly the sum of square of odd number.

cout << "The sum of squares the odd numbers is:"

<< sqSum << endl;

//Set i to 1.

i = 1;

//Dispaly the message.

cout << "\nNumber Square\n";

//Iterate and print number between 1 andd 10

//along with the sum.

while (i <= 10)

{

cout << " " << i << "\t " << i * i << endl;

i++;

}

//USe for visual studio.

system("pause");

//Return the value 0.

return 0;

}

Explanation:

The program code will perform the function listed below using loop.

Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum). Output all odd numbers between firstNum and secondNum. Output the sum of all even numbers between firstNum and secondNum. Output the numbers and their squares between 1 and 10. Separate the numbers using any amount of spaces. Output the sum of the square of the odd numbers between firstNum and secondNum. Output all uppercase letters.

Hope this helps!

How many digits are in the binary number system? Explain why.

Answers

Answer:

Since there are only two digits in binary, there are only two possible outcomes of each partial multiplication: If the digit in B is 0, the partial product is also 0. If the digit in B is 1, the partial product is equal to A.

Explanation:

Answer:

two digits

Explanation:

Binary – The binary numbering system has a base of 2 (MOD-2) and uses only two digits a “0” and a “1” to represent a binary number value.

Suppose we want an error correcting code that will allow all single-bit errors to be corrected for memory words of length 15. 1. How many check bits are necessary?2. Assuming we are using the Hamming algorithm presented to design our error-correcting code, find the code word to represent the 12-bit information word: 100100011010

Answers

Answer:

15

Explanation:

01234567891011121314

Other Questions
You would like to start your own business in Hempstead. You borrow$10,000 form the bank at a 9% rate for 5 years. How much interestwill you pay on this loan? Hey, can you guys help me out with this question? I need the workings too.( find the surface area ) A manufacturer of prototyping equipment wants to have $3,000,000 available 10 years from now so that a new product line can be initiated. If the company plans to deposit money each year, starting 1 year from now, the equation that represents how much the company is required to deposit each year at 10% per year interest to have the $3,000,000 immediately after the lastdeposit is:___________(a) 3,000,000(AF,10%,10)(b) 3,000,000(AF,10%,11)(c) 3,000,000 + 3,000,000(AF,10%,10)(d) 3,000,000(AP,10%,10) Find f(-2), if f(x) = 2x^2 - 8x + 3. which type of coastal defences is meant to keep sweater out of a place? Which coastal defences makes waves break earlier, out at sea? ASAP I need help please Add a comma or not Please help help help In what country did the United States and Britain meet agree with the allies' goals for post war Europe?A) The United StatesB) BritainC) CanadaD) Australia PLS HELP ME AND MAKE SURE TO SHOW HOW U GOT UR ANSWER Onomatopoeia is the name for words that sound like what they describe.Which of the following is an example of onomatopoeia?AVoila, the chef announced, revealing a glorious dessert, set aflame.B"Yikes! Riley exclaimed, gritting her teeth. I do not want to talk about that!Justin poured a glass of soda, listening to the bubbles fizz in the glass.DHaroun could hear, from the crowd, shouts of "Hooray!" and chants of his name. Hi! PLS HELP!!! It's 90 POINTS!! Select the sentence with the correct use of semicolons. You can order a cheeseburger with fries; coleslaw; and chips; a basket of chicken tenders with baked beans and corn on the cob; or a salad with cranberries; almonds; and goat cheese. You can order a cheeseburger with fries, coleslaw, and chips; a basket of chicken tenders with baked beans and corn on the cob; or a salad with cranberries, almonds, and goat cheese. You can order a cheeseburger with fries, coleslaw, and chips: a basket of chicken tenders with baked beans and corn on the cob: or a salad with cranberries, almonds, and goat cheese. You can order a cheeseburger with fries, coleslaw, and chips, a basket of chicken tenders with baked beans and corn on the cob, or a salad with cranberries, almonds, and goat cheese. Look at the pictures and complete each sentence logically, using the appropriate tener expression. Be sure to conjugate the verbs correctly. HELP ILL MARK YOU BRAINLIST 1+ [-1] - 3 if u answer this i will give u brainly how do I Round my answer to the nearest whole number? In the long run, if the firm decides to keep output at its initial level, what will it likely do? Stay on SRATC3 but decrease to the point touching LRATC Shift to operate on SRATC4 Shut down Shift to operate on SRATC2 True or False: The minimum efficient scale is achieved at the minimum point on each average total cost curve. False True Calculate the sample standard deviation for the following data set. If necessary, round to one more decimal place than the largest number of decimal places given in the data. Slugging Percentages for Leading Major League Baseball Players 0.612 0.612 0.523 0.523 0.606 0.606 0.631 0.631 0.584 0.584 0.592 0.592 0.644 0.644 0.597 0.597 0.639 0.639 0.607 0.607 0.564 0.564 0.673 0.673 Select the statement that best describes components of complete and incomplete metamorphosis. (2 points)a. During incomplete metamorphosis, the nymph molts its exoskeleton. During complete metamorphosis, the larva forms a chrysalis or cocoon.Selected:b. During incomplete metamorphosis, the pupa molts its exoskeleton. During complete metamorphosis, the nymph wraps itself in a chrysalis.This answer is incorrect.c. Incomplete and complete metamorphosis both have four major stages.d. Incomplete and complete metamorphosis both have three major stages. btw b was wrong How Many Hours?pls help. I need to create an imaginary business for school, and it's going to be on selling pet food. What should the name be? Give me some suggestions! :D Someone please help