• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Converting Numerical Data Format

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

I want to know if this is possible and whether anybody could give me any pointers how to do so

I want to make a program that can convert for example, the following data..

1, 0, 1, 0, 0, 0, 1
0, 1, 0, 0, 1, 0, 0
1, 1, 1, 0, 0, 0, 1

Into something that would show as..

1, 3, 7
2, 5
1, 2, 3, 7


Thanks.

I have already made my program and need it to take data input as originally shown.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jack,
What do you have so far? Showing that you tried to write code will get you more help as an answer.
 
reply
    Bookmark Topic Watch Topic
  • New Topic