Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Modulul 3, Exerciţiul 2 – Crearea şi utilizarea unui tip struct
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public enum AccountType {Cec,Deposit}; public struct BankAccount { public long accNumber ; public int interestRate; public AccountType accType ; } public class Program { public static void Main(string[] args) { BankAccount account; account.accNumber = 123; account.interestRate = 3200; account.accType = AccountType.Cec; //Your code goes here Console.WriteLine("Hello, account values are: \n accNumber : {0} \n interestRate : {1} \n accType : {2}",account.accNumber,account.interestRate,account.accType); } } }
run
|
edit
|
history
|
help
0
Reverse linked list iterative method
Sugar
Gestion de stock
LCM and GCD
https://rextester.com/ZZVYV85848
Project Euler Problem 11
Gradebook
Number Comparer
Sort string collection by length
Pizzas & Array of Tuples