0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

paizaラーニングレベルアップ問題集の「1つの文字列を出力」をやってみた。

Posted at

paizaラーニングレベルアップ問題集の1つの文字列を出力をやってみました。


問題


C
#include <stdio.h>

int main() {
	puts("paiza");
	return 0;
}

C++
#include <iostream>
using namespace std;

int main() {
	cout << "paiza" << endl;
	return 0;
}

C#
using System;

class Program
{
	public static void Main()
	{
		Console.WriteLine("paiza");
	}
}

Go
package main
import "fmt"

func main() {
	fmt.Println("paiza")
}

Java
public class Main {
	public static void main(String[] args) {
		System.out.println("paiza");
	}
}

JavaScript
console.log("paiza");

Kotlin
fun main() {
	println("paiza")
}

PHP
<?php
	echo "paiza" . PHP_EOL;
?>

Perl
print "paiza$/";

Python3
print("paiza")

Ruby
puts "paiza"

Scala
object Main extends App{
	println("paiza")
}

Swift
print("paiza")
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?