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

This is for C++: Using a nested for loop output the following pattern to the screen:

Computers and Technology
1 answer:
olga55 [171]3 years ago
3 0

Answer:

Following are the code to the given question:

#include <iostream>//header file

using namespace std;

int main()//main method

{

int r=26,x,y;//defining integer variable  

char c;//defining a character variable

for(x= 1; y<= r; x++)//using for loop for count value

{

for(y= 1; y<= x; y++)//using for loop to convert value in triangle  

{

c=(char)(y+64);//convert value into character  

cout << c;//print character value

}

cout << "\n";//use print method for line break

}

return 0;

}

Output:

Please find the attachment file.

Explanation:

In this code, three integer variable "x,y, and r", and one character variable "c" is declared, that is used in the nested for loop,  in the first for loop it counts the character value and in the next for loop, it converts the value into a triangle and uses the char variable to print its character value.

You might be interested in
The list below shows the number of text messages that five students sent from
liraira [26]

Answer:

Explanation:dhjyfxdhnjfddhjnvcdfg

3 0
4 years ago
ANSWER ASAP GIVING BRAINIEST FIVE STAR AND HEART!
vazorg [7]

Answer : A Formula is a method, statement, or procedure for achieving something, especially reconciling different aims or positions. A function is an activity or purpose natural to or intended for a person or thing. The difference between the two is a function is a piece of code that executes a predefined calculation, while a formula is something you create yourself.

4 0
3 years ago
Read 2 more answers
Cloud vendors that are hosting hardware, operating system, database, and other software, which clients can then use to build the
iren2701 [21]

Answer:

a. Software as a Service.

Explanation:

These Cloud vendors are said to be providing Software as a Service. This is because regardless of that the underlying specs are in regards to hardware, operating systems, database, etc. The vendor is selling a subscription to their cloud software which bundles all of these services together. Therefore, what they are ultimately providing is a Software that the individual can use as a service, and enjoy all of the included benefits/capabilities.

8 0
3 years ago
When VPN network traffic is routing only some traffic over the secure VPN while other traffic directly accesses the Internet, wh
stiv31 [10]

Answer:

split tunneling

Explanation:

Based on the information provided within the question it can be said that in this scenario the type of technology being used is known as split tunneling. Like mentioned in the question this refers to when a user is able to access different security domains such as a public network and a WAN at the same time. This can either be done with the same or different network connections.  

3 0
3 years ago
Write a statement containing a logical expression that assigns true to the
Bezzdna [24]

Answer:

Following are the  logical statement

if( ( satScore >=1100 ) && ( gpa>2.5 ) && ( age>15 ) ) // check all condition

{

isCandidate=true;// assign True to the boolean variable isCandidate

}

else

{

isCandidate=false; // assign false to the boolean variable isCandidate

}

Explanation:

In this code we Check the condition in the if block that is " checking satScore variable > = 1100, gpa > 2.5 and age>15 if all the condition are true then it assigning the "true" to the boolean variable "isCandidate" otherwise assign "false" in the boolean variable "isCandidate".

6 0
3 years ago
Other questions:
  • A Uniform Resource Locator (URL) consists of three separate parts: network protocol, host, and web browser.
    11·2 answers
  • What statement should you use to print the value of total with a precision of 5 digits?
    7·1 answer
  • Please Answer Quickly
    6·2 answers
  • What does f.i.r.s.t stand for in robotics
    15·1 answer
  • ____ is a method of querying and reporting that takes data from standard relational databases, calculates and summarizes the dat
    11·1 answer
  • 1.Input device which transfers information and images from physical documents to computer files.
    14·1 answer
  • _____ are used to associate a style sheet or style rule with a specific device or list of device features.â
    12·2 answers
  • If a preferred (faster) learned route over a WAN has administrative distance 110 that competes with a static backup (slower) rou
    15·1 answer
  • Why does binary addition have a rule for 1 + 1 + 1 if only two numbers<br> are being added together?
    9·1 answer
  • Which type of service offers a preconfigured testing environment for application developers to create new software applications?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!