beginners needs help

Home Forums C Programming beginners needs help

This topic contains 4 replies, has 2 voices, and was last updated by  GWILouisaxwzkla 7 years, 11 months ago.

  • Author
    Posts
  • #2235

    i have an assignment…i cant do it…
    how can i count the number i input
    example
    example

    i input

    1

    4

    5

    12

    6

    1

    3

    4

    5

    how can i count if howmany 1, 4 , 5, 12, 6, 3 are there..

    really need help

  • #3616

    could try:

  • #3617

    thank you so very very much!…

    one more question…
    how can in arrange the numbers in ascending order?…happy new year!

  • #3618

    what if the program requires me to input a maximum of 20 numbers then count the number of similar numbers?…and arrange the numbers that the user input in ascending order…THANK YOU!

  • #3619

    Don’t know what type of sort you need to use but heres one with bubble sort:

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble