Use a for loop to print out the string with spaces in between each letter code.cpp New 1 #include iostream> 2 #include <string> 4 using namespace std; 5 //Use a for loop to print out the string with spaces in between each letter int main() 7 string str “Hello World”; 葌 9 Show transcribed image text Use a for loop to print out the string with spaces in between each letter code.cpp New 1
OR
OR