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:

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad