Log in om je oplossingen te testen.
// Tweet program
using System;
using System.Collections.Generic;
class Submission
{
// -------------------------
// Subprograms
// -------------------------
static List<string> tweets(string message, int num_chars)
{
}
// -------------------------
// Main program
// -------------------------
public static void Main(string[] args)
{
Console.WriteLine("Enter the message: ");
string message = Console.ReadLine();
Console.WriteLine("How many characters per message? :");
int max_chars = Convert.ToInt32(Console.ReadLine());
List<string> tweet_elements = tweets(message, max_chars);
foreach (string tweet in tweet_elements)
{
Console.WriteLine(tweet);
}
}
}
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.