Can someone help me write a program that will generate 5 random numbers 1-10, and write them in the serial monitor in numerical order? Thank you!
void setup()
{
Serial.begin(9600);
Serial.println(1);
Serial.println(1);
Serial.println(1);
Serial.println(1);
Serial.println(1);
}
void loop()
{}
This sketch meets all your requirements,
your turn to improve either the code or the requirements if you(r teacher?) disagree(s).
google random arduino
google arduino bubblesort
might help you