keep looping = “a” user input = “y” while (keep looping == “y”): print (“hello world!”) user input = input(“would you like me to keep printing hello world? (y/n)”)
var str1='hello world'; var str2='welcome to typescript'; function test(str1:string,str2:string){ console.log(str1.concat(str2)) console.log(str1.concat( 'mr','vinay')) } test(); console.log(str1.concat(str2))
@echo off setlocal rem rem Note the type rem set VAR=Hello wrold. rem rem print the variable and fix the rem typo in one go: rem echo %VAR:wrold=world% endlocal