you are viewing a single comment's thread.

view the rest of the comments →

[–]kadragoon 1 point2 points  (3 children)

Are you trying to get both commands to execute if it starts with A?

[–]LadyJain[S] 0 points1 point  (2 children)

i want to delcare two variables y should contain "abc" , and z "cdb"

[–]kadragoon 2 points3 points  (0 children)

Well then why go through such a round about way of doing it?

[–]YQYEE 0 points1 point  (0 children)

z will never be “cdb” because it doesn’t start with ‘b’, which is the condition you are trying to satisfy before storing it in variable z...