Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
I am very new to assembly language and I have been instructed to make the brightness of a bright white LED to vary according to the brightness of the room that the LED is in, the brightness of the room will be detected by a light dependant resistor and the … |
|
[CODE]#include <iostream> #include <string> using namespace std; int main(){ string str = "Gregory"; int k = 0; for (k=0; str[k]!='\0';k++){ if (str[k]>=65 && str[k]<=90) { str[k]+=32; } } cout << str << endl; } [/CODE] is this code right |