Instructions
Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits.

For example, it should output the individual digits of:

3456 as 3 4 5 6
8030 as 8 0 3 0
2345526 as 2 3 4 5 5 2 6
4000 as 4 0 0 0
-2345 as 2 3 4 5



My code:

#include

using namespace std;

int main(int argc, char* argv[]){
// Write your main here

int a=0,b[100]={0},n=0,sum=0;

cin>>a;

while(a>0)
{

b[n]=a%10;

a/=10;

n++;

}

for(int i=n; i>0; i--)
{

printf("%d ",b[i-1]);

sum+=b[i-1];

}

printf(" Sum: %d ",sum);

cin.get(); cin.get();

return 0;

}

Problem:

The input needs to be -2345

and the output should result in

Sum: 0
but it's wrong,
the result of this code is 50%
and I don't know why, pls help

Answers

Answer 1

A program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits is given below:

The Program

#include < iostream >

int main( int argc , char * argv [ ] )

{

   int number , digit , sum = 0;

   std : : cout < < " Enter number : " ;

   std : : cin  > > number ;

   while ( number > 0 )

   {

       digit = number % 10;

       std : : cout << digit << ' \ t ' ;

       sum = sum + digit ;

       number = number / 10 ;

   }

  std : : cout < < " Sum is : " < < sum < < std : : endl ;

return 0;

}

Your original code has the right ideas, but you will have to use the std to print out the output as used above and your output would be in individual numbers.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1


Related Questions

Select the correct answer.
Hari has purchased a new computer. Which software will start running the moment he turns on his system?
O A. word processor
О в. disk cleaner
O C. operating system
O D. data recovery utility

Answers

Answer:

I think operating system

Explanation:

What do Advanced Placement courses and International Baccalaureate courses have in common?

A.
Both focus on career training and technical fields rather than college material.

B.
They teach remedial study skills to students who find high school courses challenging.

C.
They provide a way for students to enter the workforce right after high school.

D.
Both allow high school students access to college-level material.

Answers

The thing that  Advanced Placement courses and International Baccalaureate courses have in common is option D. Both allow high school students access to college-level material.

What is Advanced Placement courses and International Baccalaureate courses about?

Both the AP and IB programs, which are geared toward high school students, provide access to college-level coursework and the chance to receive college credit.

The AP program places a greater emphasis on subject-specific ability than the IB program does on encouraging students' creativity, critical thinking, and writing abilities. IB courses are more popular worldwide, but AP courses are far more accessible in US high schools.

Note that Both the AP and IB are excellent programs that colleges and universities take into account when deciding which students to admit. Even if you are enrolled in IB classes, you are still allowed to take AP courses and/or exams.

Learn more about Advanced Placement from

https://brainly.com/question/1193163
#SPJ1

Group the data according to age such that:
a. ages 0-19 will be grouped as Minor
b. 20-40 will be grouped as Young Adults
c. 41-60 Will be grouped as Old Adults
d. Above 60 will be grouped as elderly

Answers

Group the data according to age such that option d. Above 60 will be grouped as elderly.

How are age groups categorized in research?

The  way to express test results that is known to often takes into account the typical age at which they are collected is said to be age data categorization.

The age groups that should be considered for risk stratification are as follows: 0–14 years (pediatric group), 15–47 years (young group), 48–63 years (middle age group), and 64 years (elderly group).

Note that:

Young adults (18-35 years; n = 97)Middle-aged adults (36-55 years; n = 197)Older adults (65 years and older).

Note that the United Nations is one that states that everyone over the age of 60 to be an older person that is an elder. However, there is found to be some additional sociocultural indicators, such as family status (grandparents), physical appearance, etc., that are frequently used by families as well as communities to define age.

Learn more about Data grouping from

https://brainly.com/question/27417438
#SPJ1

Write algorithm On how to Cook
Rice and beans.

Answers

Algorithm on how to Cook Rice and beans are:

Pick the beans, rinse, and cook for 40-45 minutes on medium-high heat, or until tender but not mushy.

Cover with water and add the diced onions.

Cook for 40-45 minutes on medium-high heat, or until the beans are almost done.

When it is almost soft, you will know it is almost done.

Rinse the rice several times until the water is clear, then add it to the beans.

Season with butter/oil and salt to taste.

Cook until everything is done.

Serve with a sauce, soup, or stew of your choice.

What is algorithm?

In computer science, an algorithm is a finite sequence of rigorous commands that is generally used to solve a class of specific problems or to operate a computation. Algorithms are specifications for performing calculations as well as data processing.

To learn more about algorithm

https://brainly.com/question/24953880

#SPJ9

Write a program that takes a month(string) and date(int) as input and check if it's in Autumn c++

Answers

A program that takes a date as input and outputs the date's season is given below:

The Program

input_month = input()

input_day = int(input())

months= ('January', 'February','March', 'April' , 'May' , 'June' , 'July' , 'August' , 'September' , "October" , "November" , "December")

if not(input_month in months):

   print("Invalid")

elif input_month == 'March':

   if not(1<=input_day<=31):

       print ("Invalid")

   elif input_day<=19:

       print("Winter")

   else:

       print ("Spring")

elif input_month == 'April' :

   if not(1<=input_day<=30):

       print("Invalid")

   else:

       print("Spring")

elif input_month == 'May':

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Spring")

elif input_month == 'June':

   if not(1<=input_day<=30):

       print("Invalid")

   elif input_day<=20:

       print ("Spring")

   else:

       print("Summer")

elif input_month == 'July' or 'August':

   if not(1<=input_day<=31):

      print("Invalid")

   else:

       print("Summer")

elif input_month == 'September':

   if not(1<=input_day<=30):

       print("Invalid")

   elif input_day<=21:

       print ("Summer")

   else:

       print ("Autumn")

elif input_month == "October":

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Autumn")

elif input_month == "November":

   if not(1<=input_day<=30):

       print("Invalid")

   else:

       print ("Autumn")

elif input_month == "December":

   if not(1<=input_day<=31):

       print("Invalid")

   elif input_day <=20:

       print ("Autumn")

   else:

       print ("Winter")

elif input_month == 'January':

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Winter")

elif input_month == "February":

   if not(1<=input_day<=29):

       print("Invalid")

   else:

       print ("Winter")

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Use the concepts and terms that you learned in this unit to describe the composition of this photograph

Answers

The Elements of Composition in the above Photograph are:

ShapeFormTextureColorSpaceLightening

What is the composition in the photograph?

The photograph is made up of Geometric shapes which are known to be a  wonderful example of a photography composition.

An image's texture is how it appears to the eye. In photography, texture is emphasized by using shadow.

Note that Three factors: hue, value, as well as saturation, define a color. Hence, Coloring describes the color's hue.

Learn more about Photography from

https://brainly.com/question/897676
#SPJ1

When scaling up a vector image, which of the follow does NOT happen? (1 point)

The image becomes blurry and harder to see.

The image keeps its sharpness no matter how large it gets.

The computer can fill in information to make each point more detailed.

The image's colors remain the same.​

Answers

The first one I think
Since the quality of a vector imagine does not depend on resolution bc it is made of vectors

People and things around you have (a) ________________ impact on you.

Answers

People who are happier are more sociable, have stronger immune systems, have more fulfilling relationships, are more productive, live longer, and are generally more successful in life.

What is the impact of surrounding people on happiness?

Positive emotions increase a person's sense of interpersonal connection. As a result, there are better relationships at work, which promote inspiration, creativity, and productivity as well as personal development.

Psychology research does support the idea that being around green, natural areas enhances mental health.

The mechanisms include a decrease in stress, an increase in happy feelings, cognitive recovery, and beneficial benefits on self-control.

Numerous studies indicate that social relationships increase happiness. In addition to making people happy, satisfying relationships are also linked to improved health and even longer lifespans.

Therefore, People and things around you have happiness on you.

Learn more about happiness here:

https://brainly.com/question/4783978

#SPJ2

Where is the writers protection screw

Answers

The Location of the write protect screw as shown on the image of the  laptop is seen under the area of the rubber footing. Protection screws are those that are seen close to the main processor on the logic board.

What does write protection accomplish?

It is the capacity of a hardware component or software program to block the writing of new information or the modification of existing information is known as write-protection. In other words, data can be read but cannot be changed or added to.

Note that On SD cards and other types of flash memory, a feature called write-protection restricts both the deletion and addition of new data. It's there to prevent you from accidentally overwriting important data on your SD card or deleting files to create room for new ones.

Learn more about main processor from

https://brainly.com/question/28679728
#SPJ1

jamie plans to sell his pottery designs through his website. if he also wants to launch a mobile app to reach more people, which type of app should he launch?

Answers

Since Jamie plans to sell his pottery designs through his website, if he also wants to launch a mobile app to reach more people, the type of software application which he should launch is an M-commerce app.

What is e-commerce?

E-commerce is also referred to as an online sale and it can be defined as a type of business model which is designed and developed to involve the buying and selling of goods (products) over the Internet and on websites.

Basically, e-commerce technologies are designed and developed to comprises software and information technology (IT) systems which typically support safe and secure transactions over an active network and the Internet, so as to make e-commerce possible.

What is an M-commerce app?

In Computer technology, an M-commerce app is a short abbreviation for mobile commerce application and it can be defined as a type of software application that is designed and developed to enhance and facilitate the buying and selling of goods (products) over the Internet and on websites, by availing end users (customers) the opportunity.

Read more on e-commerce here: brainly.com/question/23369154

#SPJ1

Analyze the (generic) concept of “windows” used on PCs and MACs as part of a user-friendly GUI interface(i.e. What are they? What are they used for? What do they look like? Do they move, and if so, how? Why do you think they were named “windows”?)

Answers

Microsoft adopted the name "Windows" because it allows different jobs and applications to run at the same time. Because a popular term like "Windows" cannot be trademarked, it is officially known as "Microsoft Windows." Microsoft Windows 1.0, launched in 1985, was the initial version of the operating system.

What is a Graphic User Interface Used for?

A graphical user interface (GUI) is computer software that allows a human to communicate with a computer.

The phrase "graphical user interface" (GUI) or simply "graphical interface" refers to a user interface that employs a mouse, icons, and windows. The name was coined to contrast with command line interfaces and full-screen character interfaces.

GUIs are important because they are:

Simple to useUsers can readily recognize, classify, and browse alternatives because data is represented by symbols, forms, and icons.Provide Data visualization which is recognized faster than words.Attractive.Shortcuts are provided.Multitasking is possible.

Learn more about Windows:
https://brainly.com/question/25243683
#SPJ1

Write a SELECT statement that answers this question: What is the total quantity
purchased for each product within each category? Return these columns:
The category_name column from the category table
The product_name column from the products table
The total quantity purchased for each product with orders in the Order_Items
table
Use the WITH ROLLUP operator to include rows that give a summary for each
category name as well as a row that gives the grand total.
Use the IF and GROUPING functions to replace null values in the category_name
and product_name columns with literal values if they’re for summary rows.

Answers

Based on the complete question, the following information is provided:

SELECT product _ name, SUM ( ( item _ price - discount _ amount ) * quantity ) AS Total _ quanity _ purchased

FROM products p

JOIN order _ items ori ON p.product _ id = ori . product _ id \

GROUP BY product _ name WITH ROLLUP

The SELECT statement

SELECT

     if( c . category _ name is null, 'All Categories', c.category_name) Category,

     if( p . product _ name is null, 'All Products', p.product_name ) Product,

     SUM( ori . quantity ) as Total _ Qty _ Purchased,

     SUM(( ori.item _ price - ori.discount _ amount) * ori.quantity)

        AS Total _ Purchase _ Sales

  FROM

     products p

        JOIN Category c

           on p.category _ id = c.category _ id

        JOIN order _ items ori

           on p.product_id = ori.product_id

  GROUP BY

     c.category _ name ,

     p.product _ name ,

     WITH ROLLUP

Read more about SQL here:

https://brainly.com/question/25694408

#SPJ1

Write algorithm On how to Cook
Rice and beans.

Answers

Answer:

Explanation:

(Rice)

The Classic Method

1 Rinse the rice.

2 Use the right ratio of water. Add 2 parts water and 1 part rice to a large pot.....

3 Bring the water to a boil. Once it's boiling, add a big pinch of salt.

4 Maintain a simmer....

5 Cook without peeking or stirring....

6 Let the rice rest covered. ...

7 Fluff the rice with a fork.

Write a single function called main() that accepts a string as an input from the user and prints the largest and smallest value character.


Your output should look like mine. Pay close attention to how the output looks. Don't forget the quote marks!

```
Please enter a sentence: I am the Keymaster
The largest character is "y" and the smallest character is " ".

Answers

A single function called main() that accepts a string as an input from the user and prints the largest and smallest value character is given below

The Program

// C++ program to find largest and smallest

// characters in a string.

#include <iostream>

using namespace std;

// function that return the largest alphabet.

char largest_alphabet(char a[], int n)

{

   // initializing max alphabet to 'a'

   char max = 'A';

   // find largest alphabet

   for (int i=0; i<n; i++)  

       if (a[i] > max)

           max = a[i];  

   // returning largest element

   return max;

}

// function that return the smallest alphabet

char smallest_alphabet(char a[], int n)

{

   // initializing smallest alphabet to 'z'

   char min = 'z';

   // find smallest alphabet

   for (int i=0; i<n-1; i++)  

       if (a[i] < min)

           min = a[i];  

   // returning smallest alphabet

   return min;

}

// Driver Code

int main()

{

   // Character array

   char a[]= "GeEksforGeeks";

   // Calculating size of the string

   int size = sizeof(a) / sizeof(a[0]);

   // calling functions and print returned value

   cout << "Largest and smallest alphabet is : ";

   cout << largest_alphabet(a,size)<< " and ";

   cout << smallest_alphabet(a,size)<<endl;

   return 0;

}

The Output

The largest and smallest alphabet is : s and E

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Whats the differences between texting and emailing, and why the latter (emailing) is more common in professional communication.
What are common problems that people seem to encounter while emailing?

Answers

The primary distinction between texting and email is that texting requires cellular data, whereas email requires a consistent internet connection.

What is email?

E-mail, or electronic mail, refers to messages sent and received by digital computers via a network.

An e-mail system allows computer users on a network to communicate with one another by sending text, graphics, sounds, and animated images.

People prefer email for business communication because it is easily accessible on a mobile phone. It's simpler, and they believe they're more adaptable during the day.

To receive email, the recipient must have internet access. Viruses are easily transmitted through email attachments, and most email providers will scan your emails for viruses on your behalf.

Thus, email is more common in professional communication.

For more details regarding email, visit:

https://brainly.com/question/14666241

#SPJ1

which of the following is not a feature of formula menu of the macabacus excel add in

Answers

Answer:

the answer is A par

Explanation:

A home user connects to the Internet. The ISP provides hard drive space for the user's web page. Is this a network? Why or why not?

Answers

No, it is not a network because ISPs provide clients with access and presence, which are both necessary services. Access services give customers an account that enables them to send and receive email as well as access the Internet.

What is the role of an ISP?

Network access points, which are open networks on the Internet backbone, connect all ISPs to one another. The growth of the said  commercial Internet services as well as applications contributed to the Internet's quick commercialization.

Since Customers can access the internet through ISPs, who also offer extra services like email, domain registration, as well as web hosting. ISPs might also offer various forms of internet connectivity, like fiber and cable.

Additionally, connections may be non-broadband or high-speed broadband.

Learn more about ISP from

https://brainly.com/question/25558216
#SPJ1

Use the concepts and terms that you learned in this unit to describe the composition of this photograph 10pts

Answers

The Elements of Composition in the above Photograph are:

LighteningTextureColorLightening

What is the composition in the photograph?

The photograph is made up of Geometric shapes which are known to be a  wonderful example of a photography composition.

An image's texture is how it appears to the eye. In photography, texture is emphasized by using shadow.

Note that the use of color as well as lightening is one that is seen in the image attached. Therefore, Coloring tells more about the color's hue.

Learn more about Photography from

https://brainly.com/question/897676
#SPJ1

what is multiplexer ?and types of multiplexer.
[tex] \\ \\ \\ \\ \\ \\ [/tex]
tysm ~​

Answers

Answer: In electronics, a multiplexer, also known as a data selector, is a device that selects between several analogs or digital input signals and forwards the selected input to a single output line. The selection is directed by a separate set of digital inputs known as select lines.

Types of multiplexers:

-Time Division Multiplexer.

-Statistical Multiplexer.

-Inverse Multiplexer.

-Space Division Multiplexer.

-Frequency Division Multiplexer.

-Wavelength Division Multiplexer.

Jeremiah Jeremiah has set up a very detailed photo shoot for his final photography portfolio for his degree he is doing a series of photos of his pet dog stand while the props are varied and all the shots the lighting and the is the same in the Jeremiah is using light that comes from behind stand to create so looting and other types of dark detail on the front side what type of lighting is Jeremiah using

Answers

Since Jeremiah  is using light that comes from behind stand to create so looting and other types of dark detail on the front side, the type of lighting is Jeremiah using is backlighting.

What Is Backlighting in Photography?

Backlight photography is known to be a tool that talks about the scope behind the subject as well as  gives images a bigger sense of place. It is seen as a Dramatic effect. Backlighting can make a dramatic contrast to exist between the subject as well as the background.

It is a controlled lighting technique used in theater or photography that involves placing a light behind or at an angle to an object, person, or scene to create effects like depth or separation of the subject from the background.

Since Backlighting is the act of shining the subject from behind in lighting types . In other words, the subject is seen between the lighting device and the spectator, who are both facing the same direction.

Learn more about photography from

https://brainly.com/question/28081565
#SPJ1

Answer:

Backlighting

Explanation:

^

A bit (select all that apply)
Is short for binary digit
Is a 0 or a 1
Means on or off to a computer
Is really just an on/off switch
Eight of them make up a byte
Is why computers are called digital
Is a collection of bytes
Stands for Binary Information Tidbit

Answers

Answer:

Is short for binary digit: yes

Is a 0 or a 1: yes

Means on or off to a computer: yes

Is really just an on/off switch: hmm... no not really

Eight of them make up a byte: yes

Is why computers are called digital: yes

Is a collection of bytes: NO

Stands for Binary Information Tidbit: NO

Explanation:

The switch analogy is used often, but a bit itself is not a switch i.m.o.

Search for files and folders on Local Disk (C:) that were modified today. How many files or folders were found?
2. Search for files and folders on Local Disk (C:) that were modified since your last birthday. How many files or folders were found?

Answers

Answer:

1. Answer will vary

2. Answer will vary

Explanation:

how many files a person modifies cannot be predicted so search result will vary for each person

If you research the average salary for certain jobs or careers, you’ll find that the actual salaries can be higher than the averages. Why would that happen?

A.
There may be many applicants competing for each position, which drives the salaries higher.

B.
If the average salary and the actual salary differ, then companies are breaking the law.

C.
Some areas have higher employment levels, so companies have to offer workers more money.

D.
Some types of jobs have high turnover—people quit them more often than other jobs.

Answers

If you research the average salary for certain jobs or careers, you’ll find that the actual salaries can be higher than the averages. The reason it happen is option D. Some types of jobs have high turnover—people quit them more often than other jobs.

Why would a business have a high rate of turnover?

Many of the leading causes of turnover is as a result of poor pay or work-life balance, little training, and few opportunities for career advancement and it also depend on the manager.

Hence HR teams sometimes find supervisors who are blatantly unqualified to manage people and either transition them to new roles or offer assistance and training.

The reason for difference in wages are due to

Level of Credentials. The level of Experience and skill. Industry or employer. Nature of Job tasks. The Geographic location. Success and performance.

Learn more about salary from

https://brainly.com/question/12241195
#SPJ1

In C++ Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in reverse binary. For an integer x, the algorithm is:

As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x / 2
Note: The above algorithm outputs the 0's and 1's in reverse order.

Ex: If the input is:

6
the output is:

011
6 in binary is 110; the algorithm outputs the bits in reverse.

Answers

A program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in reverse binary is given below:

The Program

class Solution {

 public static String reverse _ binary ( int x ) {

   String result = " " ;

   while (x > 0) {

     result + = x % 2 ;

     x / = 2;

   }

   return result;

 }  

public static void main(String[] args){

   int x = Integer.parseInt(args[0]);

  System.out.println(reverse_binary(x));

 }

}

Parameters for the Program

For an integer x, the algorithm is:

As long as x is greater than 0

Output x % 2 (remainder is either 0 or 1)

x = x / 2

Note: The above algorithm outputs the 0's and 1's in reverse order.

Ex: If the input is:

6

the output is:

011

6 in binary is 110; the algorithm outputs the bits in reverse.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Which of the following BEST describes the type of image that is composed of mathematical formulas and that creates geometric shapes? (1 point)

O. bitmaps

O. pixels

O. vectors
O. logos​

Answers

I think that Bitmaps is the best answer for this question

Vectors graph best describes the type of image that is composed of mathematical formulas and that creates geometric shapes. Hence option c is correct.

What are mathematical formulas?

Mathematical formulas is defined as phrases that have been developed through many years of study and aid in speedy problem solving. An equal sign is typically used to connect two or more values.  It facilitates speedy question resolution.

Computer graphics known as vector graphics allow for the direct creation of visual pictures using geometric structures such as points, lines, curves, and polygons that are defined on a Cartesian plane. A series of commands or mathematical assertions that arrange lines and shapes in a two-dimensional or three-dimensional space are used to create vector graphics, which are computer images.

Thus, vectors graph best describes the type of image that is composed of mathematical formulas and that creates geometric shapes. Hence option c is correct.

To learn more about mathematical formulas, refer to the link below:

https://brainly.com/question/3941494

#SPJ2

A small coffee shop business owner wants to hire you as a developer for a point-of-sales application to be used onsite. The owner expects that the project will be completed in 3 weeks in preparation for the store's soft opening. Preliminary requirements gathering was done on your end and noted that it would be a basic point-of-sale where sales are monitored daily, weekly, and monthly. Top performing products will also be presented by the system.

As a developer, and from your point of view:

1. Kindly discuss the programming paradigm that you will use in the development of the POS system.

2. What will be the necessary activities needed in order for you to develop the system? List the key activities and provide a brief description.

3. What are the challenges that you will encounter in developing this system?

Answers

It is to be noted that the programming paradigm that I will use in the development of the Point of Sale (POS) System is Object-oriented programming (OOP).

The three key activities that will be required to develop the system are:

The programmer creates classes that describe the items that will be used by the program when it runs.The programmer creates a class that includes the static main() function, which is used to launch the application.

These two fall under the activity category labeled "Creating the Program"

The core challenges that are related to developing a system that is based on Object Oriented programming are:

Data storage.Common procedures.Defining objects.Hierarchy.

What is OOP?

Object-oriented programming (OOP) is a programming style that centers software design on data rather than operations and logic. An object is a data field with discrete characteristics and behavior.

OOP concepts are categorized as follows:

PolymorphismAbstraction Encapsulation; and Inheritance.

Object-oriented programming languages simplify understanding of how a program works by combining data and its action (or method) into a single bundle known as an "object."

Functional programming is a programming approach that involves performing operations, or functions, on static data.

Learn more about programming paradigm:

https://brainly.com/question/28736751

#SPJ1

Write a C++ program using only one loop that will display the ASCII Code and the corresponding
character in a table for each of the following: CAPITAL LETTERS, lowercase letters and the numbers
from 0-9. The table should have six (6) columns: ASCII CODE for CAPITAL LETTERS, CAPITAL
LETTERS, ASCII CODE for lowercase letters, lowercase letters, ASCII CODE for the numbers from
0-9, and ASCII CODE for the numbers from 0-9. Hint: Remember how characters are stored in memory
Validate your input using loops.

In C++

Answers

A C++ program using only one loop that will display the ASCII Code and the corresponding character in a table for each of the following: CAPITAL LETTERS, lowercase letters, and the numbers from 0-9 is given below:

The Program

// C++ program to print alphabets

#include <iostream>

using namespace std;

 

// Function to print the alphabet

// in lower case

void lowercaseAlphabets()

{

   // lowercase

 

   for (int c = 97; c <= 122; ++c)

       cout << c << " ";

 

   cout << endl;

}

// Function to print the alphabet

// in upper case

void uppercaseAlphabets()

{

 

   // uppercase

  for (int c = 65; c <= 90; ++c)

       cout << c << " ";

 

   cout << endl;

}

 

// Driver code

int main()

{

 

   cout << "Uppercase Alphabets" << endl;

   uppercaseAlphabets(ch);

 

   cout << "Lowercase Alphabets " << endl;

   lowercaseAlphabets(ch);

 

   return 0;

}

The Output

Uppercase Alphabets

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Lowercase Alphabets

a b c d e f g h i j k l m n o p q r s t u v w x y z

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

which of the following provides attestation and is signed by a trusted platform module

Answers

The terms that provides attestation and is signed by a trusted platform module (TPM) is b: Measured boot

What is the trusted platform module

A trusted platform module (TPM) is a piece of physical equipment that helps protect your computer  and its information. One of its functions is to give proof and confirmation of its security.

Attestation means showing proof or evidence that a system is honest and set up correctly. When a TPM creates an attestation, it usually makes a digital certificate signed by the TPM. So A special certificate that is signed by a trusted part of a computer.

Read more about trusted platform module here:

https://brainly.com/question/1604812

#SPJ1

See full text below

Which of the following provides attestation and is signed by a trusted platform module (TPM)?

Endpoint detection and response (EDR)

Measured boot

Host intrusion prevention system (HIPS)

Secure cookies

what is computer fundamental ?
If you are also reading this then we are friends ​
helppppppppppppp please

Answers

Answer:

It is derived from the Latin word "computare" which means to calculate. Our Computer fundamentals tutorial includes all topics of Computer fundamentals such as input devices, output devices, memory, CPU, motherboard, computer network, virus, software, hardware etc

How does water, oil and gas being separated in horizontal separators ?​

Answers

Horizontal separators are containers for removing water, oil, and gas by volumetric gravity.

Horizontal separators are more efficient when handling large volumes of liquids. A horizontal separator is a tank with a cylindrical shaft parallel to the ground to separate oil, gas, and water from the forming stream.

Horizontal dividers can be two-phase or three-phase separators.

Operators prefer to use horizontal separators over other separators when the proper flow has a high liquid/gas ratio, constant flow, and low fluid pulse characteristics (liquid/gas concentration and high gas).

Other reasons could be that the work area has vertical height restrictions; that for a given gas capacity, the horizontal separator is smaller and less expensive than the vertical one, either a straight line with foam or requiring the use of a more efficient three-phase separator on a straight line liquid-liquid separation.

These separators can be called by many different names, such as horizontal separators, oil-water separators, 3-phase separators, 2-phase separators, etc., but they all have relatively similar functions.

For this reason, the components must function properly because, without them, it is just an accumulator. A horizontal separator is a tank for the removal of a certain amount of water, oil, and gas with an automatic flow. Horizontal separators are more efficient when handling large volumes of liquids.

The horizontal separator is a tank with a cylindrical shaft parallel to the ground that is used to separate oil, gas, and water from the forming stream.

Horizontal dividers can be two-phase or three-phase separators. Operators prefer to use horizontal separators over other separators when the good flow has a high liquid-to-gas ratio, constant flow, and low fluid pulse characteristics (high liquid/gas concentration).

Learn more about the Water, Oil, and Gas Separators at

https://brainly.com/question/24630919?referrer=searchResults

Other Questions
Jillian and Nikki each filled their cars with gasoline. The graphs below show the amount of gas in each car and the miles driven since filling the tank. A graph titled Jillian's Car has miles driven on the x-axis, and gallons of gas left on the y-axis. A line goes through (0, 22) and (100, 16). A graph titled Nikki's Car has miles driven on the x-axis and gallons of gas left on the y-axis. A line goes through points (0, 20) and (100, 16). Which statement is supported by the graphs? Jillians car holds more gasoline and gets better gas mileage. Nikkis car holds more gasoline and gets better gas mileage. Jillians car holds more gasoline, but Nikkis car gets better gas mileage. Nikkis car holds more gasoline, but Jillians car gets better gas mileage. 8. A law firm is a good example of which type of economic activity? help meeeeeeeeee12 Answer: Evaluate the expression: 8-6+413 Answer: Evaluate the expression: 16(4-2)-314 Answer: Check whether the given number is a solution of the equation: 3x + 5 = 17; x=2 a. solution is correct b. solution is incorrect15 Answer: Check whether the given number is a solution of the equation: 4y - 7 = 3y - 4; y=3 a. solution is correct b. solution is incorrect16 Answer: Check whether the given number is a solution of the inequality: 2m - 3 < 4; 2 a. number is a solution b. number is not a solution17 Answer: Check whether the given number is a solution of the inequality: 5 + 2n 12; 0 a. number is a solution b. number is not a solution can anyone decompose 240 - 135 = 105 ?need new calculation after decomposing? help The balance on a credit card, that charges a 15.5%APR interest rate, over a 1 month period is given inthe following table:Days 1-3: $200 (initial balance)Days 4-20: $300 ($100 purchase)Days 21-30: $150 ($150 payment)What is the finance charge, on the average dailybalance, for this card over this 1 month period?finance charge = $ [?]Round to the nearest hundredth.Enter4 Natural disasters plague all areas of the world. In North America, the western coast of the United States experiences earthquakes, while the interior of the country is at risk for tornados. Areas of East Asia endure typhoons. Volcanic eruptions threaten places as far apart as Italy, Hawaii, Chile, and the Congo. What causes certain disasters to occur in certain areas? Which of the physical factors that youve studied impact the development of natural disasters the most? You have 7 moles of H2O. How many particles are present?(Avogadro's Number is 6 x 10^23) a 4.2 x 10^23 b 4.2 x 10^24 c 4.2 d 42 Which statement best characterizes Thorne's personal stance on the subject of technology (apart from hisopinion of the movie)?O a. Thorne believes the implications of technology should be considered before we all become swept up in anorganization like The Circle.Ob. Thorne believes The Circle is a metaphor for the corporate-controlled shadow government that seeks tomanage every aspect of our lives.Oc. Thorne believes that social media is going to destroy society because people will stop leaving their housesand do everything online.Od. Thorne believes that The Circle is exaggerating potential problems with social media; he feels that socialmedia is a great boon to society. Which inference most clearly identifies a theme of this excerpt Spiders, scorpions, and ticks belong to the class:a. Isoptera.c. Chordata.b. Crustacea.d. Arachnida.Please select the best answer from the choices providedABCD May I please get help with this. For I have tried multiple times but still could not get the correct answers for them or even plot it on the graph 90 degrees clockwise Which abolitionist was a conductor on the underground railroad and led violent attacks against slavery in kansas and harpers ferry before the civil war?. Asignacin: Leer el captulo 1 del libro: Pineda EB, De Alvarado EL, De CanalesEH. Metodologa de la investigacin. Manual para el desarrollo del personal desalud. Serie PALTEX para Ejecutores de programas de Salud No.35. OPS, segundaedicin. Washington, D.C., 1994. P 232. Luego de leer completando el cuadro acontinuacin la con los datos solicitados. Para completar use como referencia la pgina13 can someone help me on this The length of a violin string varies inversely as the frequency of its vibrations. A violin string 14 inches long vibrates at a frequency of 450 cycles per second. Find the frequency of a 10-inch violin string. A rental car agency charges $240.00 per week plus $0.25 per mile to rent a car. How many miles can you travel in one week for $477.50 If AC=19 and BC=7, find the length of AB. Bart has 1 1/4 hours to finish his three household chores if he divides his time evenly how much time can he give to each chore Which land characteristics would increase the value of a residential block?Select one:A square block with different tiersA rectangular block with a steep slopeA coastal block with a steep slope and water views Can somebody help me with this please ?