How do I fill leds
and seq
without needing a for
loop?
int main()
{
struct ledvalue
{
int seq[10];
int leds[10];
};
struct ledvalue numbers;
numbers.seq={0,1,2,3,4,5,6,7,8,9};
numbers.leds={2,5,5,4,5,6,3,7,6,6};
}
I wanted to fill them in with the numbers because then I will need to compare inputs
.