Programming Examples
Arduino program to print odd numbers from 1 to 99
Write a Arduino program to print odd numbers from 1 to 99
void setup()
{
Serial.begin(9600);
for(int a=1;a<100;a+=2)
{
Serial.println(a);
}
}
void loop()
{
}
Output/ Explanation: