0
how do I fill in leds
and seq
without needing a loop for
?
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 with the numbers because then I’ll need to compare inputs
.