DEV Community

hema latha
hema latha

Posted on

Programming basics

  1. normal statements

"Normal statements" in programming refer to basic, straightforward instructions that directly execute a single action, like assigning a value to a variable, performing a simple calculation, or printing output to the console; essentially, any statement that follows the standard flow of execution without introducing conditional logic or loops, unlike control flow statements like "if", "else", "for", or "while".
Examples of normal statements:

Variable assignment: x = 5 (Assigns the value 5 to the variable "x") 
Enter fullscreen mode Exit fullscreen mode

Arithmetic operation: result = num1 + num2 (Adds "num1" and "num2" and stores the result in "result")
Function call: print("Hello World") (Prints the string "Hello World" to the console)

Top comments (0)

AWS Security LIVE! Stream

Stream AWS Security LIVE!

See how AWS is redefining security by design with simple, seamless solutions on Security LIVE!

Learn More

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay