Open sanskaromar opened 2 years ago
+1
nhi to:
It should be "nahin toh:"
+1
I would like to give it a try.
switch (time) { case "morning": drink = "Tea"; break; case "evening": drink = "Shake"; break; default: drink="Water"; }
The following Switch case can be written as:
as we have already used the word "agar bhai" for "if" it would be confusing for people to only write agar for case as the hindi word for switch is badalana and for case I suggest using mamla/halaat
badalana bhai (time){
mamla bhai "morning":
drink = "Tea";
bas kar bhai;
mamla bhai "evening":
drink = "shake"
bas kar bhai;
ye sab nahi to :
drink ="water"';
}
INSTEAD OF "mamla" WE CAN ALSO USE "halaat"
Description
The following Switch case can be written as:
Domain
Bhai Lang
Type of Contribution
Enhancement
Code of Conduct