Loading...
Is this your company?
Q1. Input string : A3B2C3D4 Output string should be : AAABBCCCDDDD
Anonymous
int main()//INPUT: A3B2C4 OUTPUT:AAABBCCCC { int i,j,k=0; char str1[30],str2[200]; cout<<"Enter a string"<
import java.util.Scanner; public class StringNum { public static void main(String[] args) { String s; Scanner scan=new Scanner(System.in); s=scan.nextLine(); String [] arr=s.split(""); for(int i=0;i
String s = "A3B2C3D4"; String b = ""; for(int i=0;i
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.