search

Home  >  Q&A  >  body text

c++ inputs a positive integer and outputs the addition process of this positive integer

Input a positive integer and output the addition process of this positive integer

For example:

Input 3

Output 1 2 3=6

Input 4

Output 1 2 3 4=10

Please give me the code!

盞茶作酒盞茶作酒1595 days ago1512

reply all(0)I'll reply

No reply
  • Cancelreply