Questions: 9 913

Answers by our Experts: 9 913

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program to demonstrate the use of pointer to pointer. Make a list of characters (a word) by char *word, another list of words (a sentence) using char **sentence. Print the sentence using a double pointer.


Make a C++ program using do while loops that will print this output:


*

**

***

****

*****


Make a c++ program using nested loop that will display this output:


11 12 13 14 15

11 12 13 14

11 12 13

11 12

11


Make a c++ program that will print the given output using do while loop.




Output:



5



6



7



8



9

Make a C++ program that will input a number and display the sum of the numbers from 1 to the input number using do while loop.


Each student would have to output the assigned Character using Java or C++ and make it rotate in 360 degrees clockwise

How to execute this using vector







#include <iostream>





bool doesexists(int array[], int toseaarch, int size);







const short int SIZE = 10;







int main() {





int myarray[SIZE], distinct_ctr = 0, index = 0;







std::cout << "Enter 10 numbers: ";







for (index = 0; index < SIZE; index++) {





int tmp;





std::cin >> tmp;







if (!doesexists(myarray, tmp, SIZE)) {





myarray[distinct_ctr] = tmp;





distinct_ctr++;





}





}







std::cout << "distinct numbers are: ";





for (index = 0; index < distinct_ctr; index++)





std::cout << myarray[index] << " ";







std::cout << "\n";







return 0;





}







bool doesexists(int array[], int toseaarch, int size) {





for (int index = 0; index < size; index++) {





if (toseaarch == array[index])





return true;





}





return false;





}

write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after taking the following deductions:





Federal Income Tax: 15%



State Tax: 3.5%



Social Security Tax: 5.75%



Medicare/Medicaid Tax: 2.75%



Pension Plan: 5%



Health Insurance: $75.00

  1. write an application to print out the numbers 10 through 49 in the following manner

10 11 12 13 14 15 16 17 18 19

20 21 22 23 24 25 26 27 28 29

30 31 32 33 34 35 36 37 38 39

40 41 42 43 44 45 46 47 48 49


Input Combination


by CodeChum Admin



We’ve tried adding together integers, so how about adding characters as well? Well we really don't know how to create a variable that holds the combined characters (at least for now) so let's just print them together in 1 string instead.







Instructions:



Input two characters in one line, separated by a space.


Make the strings be printed out like it’s concatenated (or combined) by printing it without spaces in between. Refer to the sample output for your reference.


Input



A line containing two characters separated by a space.



A·B


Output



A line containing two characters.



AB

LATEST TUTORIALS
APPROVED BY CLIENTS