Answer:
Explanation:
The objective of this program we are to develop is to compute a C++ program and a flowchart that calculates a cost to replace all tablets and desktop computers in a business.
C++ Program
#include<iostream>
#include<iomanip>
using namespace std;
/*
⦁ // Name:
⦁ // Date:
⦁ // Program Name:
⦁ // Description:
*/
int main()
{
const double SalesTaxRate = .075, DiscountPercent = .10, FinanceCharge = .15;
const double TABLET = 320.00, DESKTOP = 800.00;
double total = 0.0, subTotal = 0.0,avg=0.0;
int numberOfTablets, numberOfDesktop;
cout << "-------------- Welcome to Computer Selling Company ------------------ ";
cout << "Enter number of tablets: ";
cin >> numberOfTablets;
cout << "Enter number of desktops: ";
cin >> numberOfDesktop;
subTotal = TABLET * numberOfTablets + numberOfDesktop * DESKTOP;
char choice;
cout << "Paying cash or financing: (c/f): ";
cin >> choice;
cout << fixed << setprecision(2);
if (choice == 'c' || choice == 'C')
{
cout << "You have choosen paying cash." << endl;
total = subTotal - subTotal * DiscountPercent;
cout << "Discount you get $" << subTotal * DiscountPercent<<endl;
cout << "Sales Tax: $" << SalesTaxRate * total << endl;
total = total + total * SalesTaxRate;
cout << "Total computers' Cost: $" << total << endl;
avg = total / (numberOfDesktop + numberOfTablets);
cout << "Average computer cost: $ " << avg << endl;
}
else if (choice == 'f' || choice == 'F')
{
cout << "You have choosen Finance option." << endl;
total = subTotal + subTotal * FinanceCharge;
cout << "Finance Charge $" << subTotal * FinanceCharge << endl;
cout << "Sales Tax: $" << SalesTaxRate * total << endl;
total = total + total * SalesTaxRate;
cout << "Total computers' Cost: $" << total << endl;
avg = total / (numberOfDesktop + numberOfTablets);
cout << "Average computer cost: $ " << avg << endl;
}
else
{
cout << "Wrong choice.......Existing.... ";
system("pause");
}
//to hold the output screen
system("pause");
} }
OUTPUT:
The Output of the program is shown in the first data file attached below:
FLOWCHART:
See the second diagram attached for the designed flowchart.
Write a program that computes an integer's checksum. To compute the checksum, break the integer into its constituent digits and, working from right to left, doubling every second digit. If the product results in a number with two digits, treat those two digits independently. Then, sum all the digits for the final checksum.
Following are the C++ program to the given question:
#include <iostream>//header file
using namespace std;
int findCheckSum(int n)//defining a method findCheckSum that takes integer parameter
{
bool c = false;//defining bool variable
int S= 0,d;//defining integer variable
while(n)//defining while loop that seprates digits
{
d = n%10; // get the digit.
n=n/10; // remove the last digit.
if(c)//use if to check the even position value
{
d=d*2;//multiplying d with 2
while(d)//use if to check digit value
{
S=S+(d%10);//adding value
d=d/10;// remove the last digit.
}
}
else//defining else block
{
S=S+d;// checking the odd position
}
c= c^true;//holding bool value
}
return S;//return S
}
int main() //defining main method
{
cout << findCheckSum(1984);//calling method
}
Output:
22
Program Explanation:
Including header file.Defining a method, "findCheckSum" that takes an integer parameter "n".Inside the method, a bool variable "c" and two integer variable "S, d" is declared that defines a while loop.Inside the loop, a conditional statement is defined that separates digits and adds them into the "S" variable, and returns its values.Outside the method, the main method is declared that calls the "findCheckSum" method, and print its value.Learn more:
brainly.com/question/14788459
1. Utilizing Microsoft VISIO, you are to leverage the content within the prescribed narrative to develop an Entity Relationship Diagram (ERD). Make use of the 'Crow's Foot Database Notation' template available within VISIO.
1.1. You will be constructing the entities [Tables] found within the schemas associated with the first letter of your last name.
Student Last Name
A -F
K-0
P -T
U-7
Schema
1 and 2 as identified in 6.4.1.1.
1 and 3 as identified in 6.4.1.1.
1 and 4 as identified in 6.4.1.1.
1 and 5 as identified in 6.4.1.1.
1 and 6 as identified in 6.4.1.1.
1.2. Your ERD must include the following items:
• All entities must be shown with their appropriate attributes and attribute values (variable type and length where applicable)
•All Primary keys and Foreign Keys must be properly marked
Differentiate between standard entities and intersection entities, utilize rounded corners on tables for
To create an Entity Relationship Diagram (ERD) using Microsoft Visio, here is what you need to do.
Steps for creating ERD using VisioOpen Microsoft Visio and select the 'Crow's Foot Database Notation' template.Identify the schemas associated with the first letter of your last name. For example, if your last name starts with A-F, choose Schema 1 and Schema 2.Construct the entities (tables) within the chosen schemas based on the provided narrative.Include all necessary attributes and their values for each entity, specifying variable type and length where applicable.Properly mark the Primary Keys and Foreign Keys within the entities.Differentiate between standard entities and intersection entities by using rounded corners on tables.By following these steps, you can create an ERD using Microsoft Visio, representing the entities, attributes, relationships, and key identifiers of the database schema associated with your given criteria.
Learn more about Microsoft Visio:
https://brainly.com/question/29340759
#SPJ1
Which HTML tag is used to add an ordered list to a web page?
Answer:
<ol> Defines an ordered list
Answer:
<ol>
Explanation:
What are the key constructs of a G&T Value Delivery objective?
Excelling in customer mindshare
Delivering business value
Delivering an innovative solution
Aligning to contractual commitments
Explanation:
delivering business value
part i - topic: document comparison in tabular form (not essay) of operating system (length: 3 pages with font times roman 10 or equivalent, single spaced similar to this handout). if you include all relevant details it will consume 3 pages to complete this part. reference: http://en.wikipedia.org/wiki/comparison of operating systems compare the three types of operating systems 1. microsoft based (windows) 2. apple based (osx) 3. unix based (linux distributions)
Some of the most popular operating systems based on Windows, Apple, Unix (popular Linux distributions) are described below.
Windows-based OS:They are the most popular operating systems due to their friendly interface, stability, compatibility and countless applications at home, companies, businesses, etc. Some of its most recent versions are:
Windows 11: Launched in 2021, improving the previous version Windows 10.Windows Server: Designed for use by business servers and multiprocessing data.Windows 10 Mobile: It is so far the latest version of Windows-based operating systems designed for mobile phones.Apple's most successful operating systems:The operating systems developed by Apple are characterized by their stability, robustness, and reliability, the most prominent are:
iOS: Designed to be installed on exclusive brand phones and tablets.OS X: Operating systems for the PC versions of the brand (Mac, iMac, etc.)macOS Server: It is the operating systems for Apple servers. It was recently discontinued by the company, therefore it no longer offers higher versions than the one released in 2021.Most Popular Linux DistributionsAndroid: The most widely used system on tablets and cell phones.Fedora and Red Hat: They stand out for their business applications, data management and networks, etc.Manjaro: It is an operating system that is constantly being improved and today it is one of the lightest, most reliable and easiest to use among the thousands of Linux distributions that exist.Debian and Ubuntu: They are the friendliest and most complete operating systems of the Linux distributions, therefore, they are the most recommended for beginners.ElementaryOs and Zorin OS: two Linux-based operating systems designed for those who got used to the MacOs interface in the first case or Windows in the second.To learn more about operating systems see: https://brainly.com/question/22811693
#SPJ4
Can someone help me with this!!!.
what is the importance of file management and how do you control files over time?\
Answer:
File management improves productivity by lowering the amount of time employees spend looking for documents. It also cuts down on the time it takes to recreate files when an employee can't find the original.
To control files over time, here are some tips.
-Delete unnecessary files
-Take immediate action on files you encounter
-Consolidate files when possible
-Have less folders as possible
Asymmetric encryption uses only 1 key.
A)
False
B)
True
What is the main difference between structured and unstructured data?
Answer:
Please mark Brainliest, Look Down
Explanation:
Structured data vs. unstructured data: structured data is comprised of clearly defined data types with patterns that make them easily searchable; while unstructured data – “everything else” – is comprised of data that is usually not as easily searchable, including formats like audio, video, and social media postings.
Answer:
Structured data is data that appears in pre-defined models. It is organized and fits into templates and spreadsheets, making it easy to analyze. In contrast, unstructured data is not predefined and the data has no form or system to follow. It can come in the form of images, videos, text, and audio, and can be challenging to analyze.
Between structured and unstructured data, there is semi-structured data. Semi-structured data is a combination of organized data and unorganized text. For example, email is considered semi-structured because the body within the email can be unstructured but the email itself can be organized into different folders.
Explanation:
Calvin is an aspiring graphic designer. He wants to achieve Adobe Certified Expert certification in software that will be helpful in his career. Which software is appropriate for him?
A. Adobe InDesign
B. Adobe Flash
C. Adobe Reader
D. Adobe Acrobat
E. Adobe Premiere Express
Answer:
a
Explanation:
Adobe InDesign is a desktop publishing and page layout design software tool initially launched in 1999 by Adobe Inc. The correct option is A.
What is Adobe InDesign?Adobe InDesign is a desktop publishing and page layout design software tool initially launched in 1999 by Adobe Inc. It may be used to produce posters, flyers, brochures, magazines, newspapers, presentations, books, and ebooks, among other things.
Given that Calvin is an aspiring graphic designer. He wants to achieve Adobe Certified Expert certification in software that will be helpful in his career. Therefore, the software appropriate for Calvin is Adobe InDesign.
Hence, the correct option is A.
Learn more about Adobe InDesign:
https://brainly.com/question/9392694
#SPJ2When using a small mic that attaches to your interview subject, where should you place that mic and why?
Directly at the subject's lips, position the microphone at a 45-degree angle. Shotgun microphones are highly directional supercardioid microphones that are designed to pick up sound in either direction. Place the microphone out of frame but as close to the subject as possible.
user intent refers to what the user was trying to accomplish by issuing the query
Answer:
: User intent is a major factor in search engine optimisation and conversation optimisation. Most of them talk about customer intent ,however is focused on SEO not CRO
Explanation:
How is workflow defined? (IMAGE ATTACHED)
The sequence of steps one follows from start to finish of a work process is how workflow is defined. (Option C)
What is the rationale for the above response?Workflow refers to the sequence of steps or tasks that are performed in order to complete a particular work process, often in a specific order or with specific dependencies between steps.
A workflow can involve the interaction between hardware, software, and humans, but it is primarily defined by the steps that must be followed to achieve a specific outcome. In this sense, a workflow can be thought of as a structured or organized way of working, designed to optimize efficiency and productivity.
Learn more about workflow:
https://brainly.com/question/14399047
#SPJ1
What will be the value of EAX when the following sequence of instructions has executed?
a. push 5.b. push 10.c. push 20.d. pop eax.
Answer:
20
Explanation:
The value of EAX would be 20. This is a 32 bit version of AX register. It has two common purposes.
1. It is useful for storing the return value of a function
2. It is used as register while performing some kinds of calculations.
The value is not preserved. It is therefore volatile in nature as a register.
ThThe following information is provided from the product price EXCEPT:
The information provided from the product price includes the comparability of other products, the quality of the product, and the levels of demand. However, the time of day the product is purchased is not typically a piece of information that can be directly inferred from the product price.
Comparability of other products refers to how the price of a specific product compares to similar or alternative products in the market. This information helps consumers make informed decisions by assessing the value they are receiving for the price they are paying.
The quality of the product is another crucial factor influenced by its price. Generally, higher-priced products are often associated with higher quality, while lower-priced products may be perceived as having lower quality. This relationship between price and quality plays a significant role in consumer purchasing decisions.
Additionally, the levels of demand for a product can also be inferred from its price. Higher-priced products may experience lower demand, while lower-priced products tend to attract more consumers. The price elasticity of demand determines how changes in price affect consumer demand for a product.
In summary, while the comparability of other products, the quality of the product, and the levels of demand are factors influenced by the product price, the time of day the product is purchased is not directly related to the price and, therefore, not provided by the product price.
For more such questions product,Click on
https://brainly.com/question/28776010
#SPJ8
The probable question may be:
The following information is provided from the product price EXCEPT: comparability of other products. quality of product. levels of demand. the time of day the product is purchased.
write a program to compute the day of the week on which a specific date falls. use the following formulas, for the gregorian calendar:
The correct answer is Create a function that determines the day of the week for any given past or future date. Calculation is a common use.
It would require input, storage, processing, and output of the results. These four components—which might seem straightforward—are shared by all computers. And that is what distinguishes a computer as such. The number of processor cores and clock rates impact how much data can be accessed simultaneously and how rapidly it can be processed on your computer. Your computer's processing speed is determined by how quickly its cores and clock sync. Your internet connection's speed and stability are impacted by a number of variables. Only a few of these elements include your location, the device you use, the number of people you share the connection with, and transfer technology.
To learn more about determines click on the link below:
brainly.com/question/29835088
#SPJ4
What is the first step in finding a solution to a problem
Create a Python program that prints all the numbers from 0 to 4 except two distinct numbers entered by the user.
Note : Use 'continue' statement.
Here is a Python program that prints all numbers from 0 to 4, excluding two distinct numbers entered by the user, using the 'continue' statement:
```python
numbers_to_exclude = []
# Get two distinct numbers from the user
for i in range(2):
num = int(input("Enter a number to exclude: "))
numbers_to_exclude.append(num)
# Print numbers from 0 to 4, excluding the user-entered numbers
for i in range(5):
if i in numbers_to_exclude:
continue
print(i)
```
The program first initializes an empty list called `numbers_to_exclude` to store the two distinct numbers entered by the user.
Next, a loop is used to prompt the user to enter two distinct numbers. These numbers are appended to the `numbers_to_exclude` list.
Then, another loop is used to iterate through the numbers from 0 to 4. Inside the loop, an 'if' condition is used to check if the current number is in the `numbers_to_exclude` list. If it is, the 'continue' statement is executed, which skips the current iteration and proceeds to the next iteration of the loop.
If the current number is not in the `numbers_to_exclude` list, the 'print' statement is executed, and the number is printed.
This program ensures that the two distinct numbers entered by the user are excluded from the output, while all other numbers from 0 to 4 are printed.
For more such answers on Python
https://brainly.com/question/26497128
#SPJ8
Which goal of design theory can be described as the proper distribution
In this lab, you use the flowchart and pseudocode found in the figures below to add code to a partially created C++ program. When completed, college admissions officers should be able to use the C++ program to determine whether to accept or reject a student, based on his or her test score and class rank.
// HouseSign.cpp - This program calculates prices for custom made signs.
#include
#include
using namespace std;
int main()
{
// This is the work done in the housekeeping() function
// Declare and initialize variables here
// Charge for this sign
// Color of characters in sign
// Number of characters in sign
// Type of wood
// This is the work done in the detailLoop() function
// Write assignment and if statements here
// This is the work done in the endOfJob() function
// Output charge for this sign
cout << "The charge for this sign is $" << charge << endl;
return(0);
}
Here is the complete question.
In this lab, you use the flowchart and pseudocode found in the figures below to add code to a partially created C++ program. When completed, college admissions officers should be able to use the C++ program to determine whether to accept or reject a student, based on his or her test score and class rank.
start input testScore,
classRank if testScore >= 90 then if classRank >= 25 then output "Accept"
else output "Reject" endif else if testScore >= 80
then if classRank >= 50 then output "Accept" else output "Reject" endif
else if testScore >= 70
then if classRank >= 75 then output "Accept"
else output "Reject"
endif else output "Reject"
endif
endif
endif
stop
Study the pseudocode in picture above. Write the interactive input statements to retrieve: A student’s test score (testScore) A student's class rank (classRank) The rest of the program is written for you. Execute the program by clicking "Run Code." Enter 87 for the test score and 60 for the class rank. Execute the program by entering 60 for the test score and 87 for the class rank.
[comment]: <> (3. Write the statements to convert the string representation of a student’s test score and class rank to the integer data type (testScore and classRank, respectively).)
Function: This program determines if a student will be admitted or rejected. Input: Interactive Output: Accept or Reject
*/ #include using namespace std; int main() { // Declare variables
// Prompt for and get user input
// Test using admission requirements and print Accept or Reject
if(testScore >= 90)
{ if(classRank >= 25)
{ cout << "Accept" << endl; }
else
cout << "Reject" << endl; }
else { if(testScore >= 80)
{ if(classRank >= 50)
cout << "Accept" << endl;
else cout << "Reject" << endl; }
else { if(testScore >= 70)
{ if(classRank >=75) cout << "Accept" << endl;
else cout << "Reject" << endl; }
else cout << "Reject" << endl; } } } //End of main() function
Answer:
Explanation:
The objective here is to use the flowchart and pseudocode found in the figures below to add code to a partially created C++ program. When completed, college admissions officers should be able to use the C++ program to determine whether to accept or reject a student, based on his or her test score and class rank.
PROGRAM:
#include<iostream>
using namespace std;
int main(){
// Declare variables
int testScore, classRank;
// Prompt for and get user input
cout<<"Enter test score: ";
cin>>testScore;
cout<<"Enter class rank: ";
cin>>classRank;
// Test using admission requirements and print Accept or Reject
if(testScore >= 90)
{ if(classRank >= 25)
{ cout << "Accept" << endl; }
else
cout << "Reject" << endl;
}
else { if(testScore >= 80)
{ if(classRank >= 50)
cout << "Accept" << endl;
else cout << "Reject" << endl; }
else { if(testScore >= 70)
{ if(classRank >=75) cout << "Accept" << endl;
else cout << "Reject" << endl;
}
else cout << "Reject" << endl; }
}
return 0;
} //End of main() function
OUTPUT:
See the attached file below:
In this exercise, you will get some practice with the __add__ method by implementing it for a class called ContactBook. This class represents a collection of names and phone numbers. ContactBook stores its information as a dictionary, where the key is a name and the value is a phone number or group of phone numbers. The keys and values in this dictionary are stored as strings. When printed, a ContactBook might look like this:
Answer:
class ContactBook():
def __init__(self):
self.contacts ={}
def __repr__(self):
return str(self.contacts)
def add_contact(self,name,number):
self.contacts[name] = number
def __add__(self, other):
new_contact = ContactBook()
other_contact = other.contacts.keys()
for name,num in self.contacts.items():
if name in other_contact:
new_contact.add_contact(name,num or other_contact[name])
else:
new_contact.add_contact(name,num)
for name,num in other.contacts.items():
if name not in self.contacts:
new_contact.add_contact(name, num)
return new_contact-
cb1 = ContactBook()
cb2 = ContactBook()
cb1.add_contact('Jonathan','444-555-6666')
cb1.add_contact('Puneet','333-555-7777')
cb2.add_contact('Jonathan','222-555-8888')
cb2.add_contact('Lisa','111-555-9999')
print(cb1)
print(cb2)
cb3 = cb1+cb2
print(cb3)
Explanation:
The ContactBook class holds the contact details of an instance of the class. The class has three magic methods the '__repr__', '__init__', and the '__add__' which is the focus of the code. The add magic method in the class adds the contact book (dictionary) of two added object instance and returns a new class with the contact details of both operand instances which is denoted as self and other.
Which of the following statements are true about how technology has changed work? Select 3 options. Responses Businesses can be more profitable by using communication technology to reduce the costs of travel. Businesses can be more profitable by using communication technology to reduce the costs of travel. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. With the spread of technology and the Internet, smaller businesses are not able to compete as effectively as before. In a gig economy, workers are only hired when they are needed for as long as they are needed. In a gig economy, workers are only hired when they are needed for as long as they are needed. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Through the use of the Internet and collaboration tools more workers are able to perform their jobs remotely. Technology has not really changed how businesses operate in the last fifty years. Technology has not really changed how businesses operate in the last fifty years.
The three genuine statements almost how technology has changed work are:
Businesses can be more productive by utilizing communication technology to decrease the costs of travel. This can be genuine since advances like video conferencing and virtual gatherings permit businesses to conduct gatherings, transactions, and collaborations remotely, lessening the require for costly travel courses of action.With the spread of technology and the Web, littler businesses are not able to compete as successfully as some time recently. This explanation is genuine since innovation has empowered bigger companies to use their assets and reach a worldwide advertise more effortlessly, making it challenging for littler businesses to compete on the same scale.Through the utilize of the Web and collaboration devices, more laborers are able to perform their occupations remotely. This explanation is genuine as innovation has encouraged farther work courses of action, allowing employees to work from anyplace with an online association. Collaboration instruments like extend administration computer program and communication stages have made inaccessible work more doable and effective.Technology explained.
Technology alludes to the application of logical information, aptitudes, and devices to form innovations, fathom issues, and move forward proficiency in different spaces of human movement. It includes the improvement, usage, and utilize of gadgets, frameworks, and processes that are outlined to achieve particular assignments or fulfill specific needs.
Technology can be broadly categorized into distinctive sorts, such as data technology, communication technology, therapeutic innovation, mechanical technology, and transportation technology, among others. These categories include different areas, counting computer science, hardware, broadcast communications, building, and biotechnology.
Learn more about technology below.
https://brainly.com/question/13044551
#SPJ1
To use the mouse properly, you will need to know how to_______and click.
Zoom
Drag
Point
Scroll
python best hashing algorithm for passwords with mysql
Answer: So you Wait a minute I do believe that mysql is a sql cracking suit but you would need to build a hashing suit or you could use passlib.hash.mysql41 so you are looking to crack some stuff ok look at the file I sent.
Explanation:
You use a word processor to create and save a text-based document on your computer. What does the text in your document represent? Question 15 options: 1) data 2) hardware 3) operating system 4) application
Since you use a word processor to create and save a text-based document on your computer. The text in your document represent: 1) data.
What is the word processor?The term Data is known to be one that connote a form of raw facts, figures, as well as symbols that are placed to a computer for processing.
Note that In this case, the text that is said to be formed via the use of a word processor is the raw data that is known to being input to the computer.
Therefore, The word processor application is one that tends to processes this data to make the final document that a person can be able to be saved on the computer's storage device.
Learn more about word processor from
https://brainly.com/question/985406
#SPJ1
What is an Internet Service Provider? Describe at least two types of ISP. (I NEED THIS ASAP LIKE NOW)
Answer:
A company that provides service to its subscribers to the internet | WiFi, cellular data
Explanation:
WiFi provides service to its subscribers to the internet; the same applies to cellular data.
Which of the following is the MOST important reason for creating separate users / identities in a cloud environment?
Answer:
Because you can associate with other
Answer:
Explanation:
To avoid cyberbully
what does c++ programming mean?
Answer:
It's an internal joke to say the language is basically C with some extra stuff (like classes)
the "++" is short for
C += 1 or
C = C + 1 which is a common calculation among programmers so they named it C++ to be a more commercial and attractive name than "C with classes"
Explanation:
how can i find these services
wood floor installers nj
laminated floors nj
Sanding wood floors
hardwood floors nj
hardwood floor refinishing contractors nj
floor refinishing nj
wood floor refinishing nj
flooring nj
wood floor scratch repair
Sanding wood floors nj
Dustless sanding wood floors nj
abcfloringnj
To find the services of wood floor repairing, refinishing contractor, you could always search on maps on internet the service nearby, or you can ask the neighbors or the shops, they have contacts with these people.
What are wood floors?
Wooden floors are the floors that are made by wood. The wooden floors started very back in America's homes. Wooden planks are installed over mud or cement, then laminate them.
Thus, to find the services of wood floor repairing, refinishing contractor, you could always search on maps on internet the service nearby, or you can ask the neighbors or the shops, they have contacts with these people.
Learn more about wood floors
https://brainly.com/question/2288600
#SPJ1
To set up scenarios,then set up a list, then set up the reference cell. to set up the cells that display the output results from the scenario. what do you use
To set up the cells that display the output results from the scenario, you will use data table , then Vlookup and Choose.
What do you use to set up the cells that display the output results from the scenario?In setting up the cells that display the output results from the scenario, then the first thing needed is data table which is necessary when setting up a list.
Followed by the , Vlookup which is used in the setting up of the reference cell and lastly Choose.
Learn more about reference cell on:
https://brainly.com/question/21644802
#SPJ1