Technology has advanced to the point where programming has become an essential part of our lives. We use software and applications for communication, entertainment, education, and work, and these are all built on programming languages.
Program to print odd numbers less than 20 using for loop.
Get link
Facebook
X
Pinterest
Email
Other Apps
Explanation,
Here, i is initialized with value and in every loop, value in i increase by 2 until the condition gets false.
Jack Dorsey, the organizer behind microblogging stage Twitter, is of the assessment that Twitter is driven by some unacceptable individual. Dorsey after Elon Musk assumed control over the steerage of Twitter as the stage became entangled in different debates. He censured Musk and proposed that he leave Twitter. Dorsey is presently censuring that Elon Musk was the main answer for Twitter previously. Saying that Twitter isn't reasonable for clients, Dorsey has brought his own interpersonal organization 'Blue Sky' to the market. Dorsey as of late sent off his own interpersonal organization 'BlueSky Social' As of now, in excess of 43 thousand clients have joined this stage, which can be opened exclusively with a greeting code. A client on the stage requested that Dorsey offer his viewpoint on Twitter. The client found out if Elon Musk is the right chief for Twitter or not. Responding to the inquiry, Dorsey said 'no' "I think he knows he's m...
OpenAI has expanded the scope of its AI chatbot ChatGPT. Now ChatGPT can also be used on smartwatches. It has been revealed that ChatGPT will be available in fitness brand Amazfit's 'GTR Four'. The company said that ChatGPT will be listed as 'ChatGenius' in the smartphone menu. By going to that option, the user will be able to chat with ChatGPT on their own smartwatch just like using it on a desktop. Various features of smartwatches have also been integrated in it. For example, users can ask ChatGPT about their personal details, such as how many steps they have taken today, what their heart rate is, etc.
Explanation :Here three variables are declared a,b and c. The numbers in a,b and c are checked considering a is the greatest it is compared with b and c. If is greater in both condition, it will be greatest and if not, surely b or c will be greatest and are compared using else if. If b is greater than c then b will be greatest number and if it is also not then c is the greatest number as neither a nor b is greatest. Output Exercise : Make a program to state the smallest number among any three different inputted numbers.
Comments
Post a Comment
If you have any doubt, let me know...