We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 1: Data Types
Day 1: Data Types
Sort by
recency
|
3965 Discussions
|
Please Login in order to post a comment
i = 4 d = 4.0 s = 'HackerRank ' a=int(input()) b=float(input()) c=str(input()) print(f"{i+a}\n{b+d}\n{s+c}")
C# code: using System; using System.Collections.Generic; using System.IO;
class Solution { static void Main(String[] args) { int i = 4; double d = 4.0; string s = "HackerRank ";
i = 4 d = 4.0 s = 'HackerRank ' a=int(input()) b=float(input()) c=str(input()) sum1=i+a double1=d+b print(sum1) print(double1) print(s+c)
Are you able to access the tutorials provided
For some reason in Java 15 the variables i, d, and s are not provided like they said. You have to include it on your own.