Home Forums C Programming beginners needs help

Viewing 4 reply threads
  • Author
    Posts
    • #2235
      JerrodBillingto
      Participant

      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
      GWILouisaxwzkla
      Participant

      could try:

    • #3617
      JerrodBillingto
      Participant

      thank you so very very much!…

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

    • #3618
      JerrodBillingto
      Participant

      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
      GWILouisaxwzkla
      Participant

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

Viewing 4 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.